diff options
author | jim1_lin <jim1_lin@asus.com> | 2012-06-26 11:04:38 +0800 |
---|---|---|
committer | Ramanan Rajeswaran <ramanan@google.com> | 2012-07-31 09:09:42 -0700 |
commit | ff2bda64334bb7dcc98816e4ac4b515cd2a9667b (patch) | |
tree | e618192bcda62de7e2b7fb72a28bcf7c36caa120 | |
parent | 058ddafa7d3986f4fdfb883551adc17af73dbc3b (diff) | |
download | external_wpa_supplicant_8-ff2bda64334bb7dcc98816e4ac4b515cd2a9667b.zip external_wpa_supplicant_8-ff2bda64334bb7dcc98816e4ac4b515cd2a9667b.tar.gz external_wpa_supplicant_8-ff2bda64334bb7dcc98816e4ac4b515cd2a9667b.tar.bz2 |
WPS : update dev.config_methods in wps_update_config.
dev.config_methods was not updated when wps_update_config was called.
Led to mismatch config methods between probe_request and M1 packets.
Add missing part for it.
Change-Id: I02bd016a35726c7cf05cd71840082edd677b04b8
-rw-r--r-- | wpa_supplicant/wps_supplicant.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/wps_supplicant.c b/wpa_supplicant/wps_supplicant.c index 7356d1a..0873b1a 100644 --- a/wpa_supplicant/wps_supplicant.c +++ b/wpa_supplicant/wps_supplicant.c @@ -1760,6 +1760,7 @@ void wpas_wps_update_config(struct wpa_supplicant *wpa_s) } } wps->config_methods = wps_fix_config_methods(wps->config_methods); + wps->dev.config_methods = wps->config_methods; if (wpa_s->conf->changed_parameters & CFG_CHANGED_DEVICE_TYPE) os_memcpy(wps->dev.pri_dev_type, wpa_s->conf->device_type, |