diff options
author | Jouni Malinen <j@w1.fi> | 2009-01-03 20:09:35 +0200 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2009-01-03 20:09:35 +0200 |
commit | 41c00105f254344cb352963bc5d11e2322b93886 (patch) | |
tree | 5ebdbc78c9610002b39bf5ce97fdd8ec631f249d /src/wps/wps.c | |
parent | 5a8c6d33535fed249b6b67774843b52e619a4f64 (diff) | |
download | external_wpa_supplicant_8_ti-41c00105f254344cb352963bc5d11e2322b93886.zip external_wpa_supplicant_8_ti-41c00105f254344cb352963bc5d11e2322b93886.tar.gz external_wpa_supplicant_8_ti-41c00105f254344cb352963bc5d11e2322b93886.tar.bz2 |
Removed registrar pointer from wps_config and wps_data
wps_context::registrar can be used as the only location for this
pointer.
Diffstat (limited to 'src/wps/wps.c')
-rw-r--r-- | src/wps/wps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wps/wps.c b/src/wps/wps.c index 3a1606f..67438de 100644 --- a/src/wps/wps.c +++ b/src/wps/wps.c @@ -102,10 +102,10 @@ void wps_deinit(struct wps_data *data) wpa_printf(MSG_DEBUG, "WPS: Full PIN information revealed and " "negotiation failed"); if (data->registrar) - wps_registrar_invalidate_pin(data->registrar, + wps_registrar_invalidate_pin(data->wps->registrar, data->uuid_e); } else if (data->registrar) - wps_registrar_unlock_pin(data->registrar, data->uuid_e); + wps_registrar_unlock_pin(data->wps->registrar, data->uuid_e); wpabuf_free(data->dh_privkey); wpabuf_free(data->dh_pubkey_e); |