diff options
author | Jouni Malinen <j@w1.fi> | 2008-11-28 20:02:32 +0200 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2008-11-28 20:02:32 +0200 |
commit | bcbbc7af45cc4b84a5c10e65f4283fdf68cd785a (patch) | |
tree | 7d110829491964ba3094be1adab76dfd1bfc8b93 /src/wps/wps.c | |
parent | fa201b694f55194331d99877b6c64058c1ebd990 (diff) | |
download | external_wpa_supplicant_8_ti-bcbbc7af45cc4b84a5c10e65f4283fdf68cd785a.zip external_wpa_supplicant_8_ti-bcbbc7af45cc4b84a5c10e65f4283fdf68cd785a.tar.gz external_wpa_supplicant_8_ti-bcbbc7af45cc4b84a5c10e65f4283fdf68cd785a.tar.bz2 |
WPS: Merged two cred_cb variables into the same one
Previously, wpa_supplicant as Enrollee case was handled using a
different callback function pointer. However, now that the wps_context
structure is allocated for all cases, the same variable can be used in
all cases.
Diffstat (limited to 'src/wps/wps.c')
-rw-r--r-- | src/wps/wps.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/wps/wps.c b/src/wps/wps.c index 0c95a38..2b3751d 100644 --- a/src/wps/wps.c +++ b/src/wps/wps.c @@ -58,9 +58,6 @@ struct wps_data * wps_init(const struct wps_config *cfg) data->dev_password_len = 8; } - data->wps_cred_cb = cfg->wps_cred_cb; - data->cb_ctx = cfg->cb_ctx; - data->state = data->registrar ? RECV_M1 : SEND_M1; return data; |