aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/interworking.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-10-27 10:55:09 (GMT)
committerJouni Malinen <j@w1.fi>2013-10-27 10:55:09 (GMT)
commitd20c340f7ed166ecc7fd00a1b20e4490c95ee3f1 (patch)
tree8b2074cd2d0816b653c7cbd2c608e78677294d42 /wpa_supplicant/interworking.c
parentf3be6eea9b26b016bfa156879f2035c4f212ef02 (diff)
downloadhostap-d20c340f7ed166ecc7fd00a1b20e4490c95ee3f1.zip
hostap-d20c340f7ed166ecc7fd00a1b20e4490c95ee3f1.tar.gz
hostap-d20c340f7ed166ecc7fd00a1b20e4490c95ee3f1.tar.bz2
Interworking: Clear known_wps_freq for network selection
This was forgotten from the previous commit which allowed some cases to trigger single-channel scan incorrectly if an optimized WPS scan had not yet been completed at the time network selection was started. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/interworking.c')
-rw-r--r--wpa_supplicant/interworking.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/interworking.c b/wpa_supplicant/interworking.c
index b30c9a8..9e040a0 100644
--- a/wpa_supplicant/interworking.c
+++ b/wpa_supplicant/interworking.c
@@ -2102,6 +2102,7 @@ int interworking_select(struct wpa_supplicant *wpa_s, int auto_select)
wpa_s->normal_scans = 0;
wpa_s->scan_req = MANUAL_SCAN_REQ;
wpa_s->after_wps = 0;
+ wpa_s->known_wps_freq = 0;
wpa_supplicant_req_scan(wpa_s, 0, 0);
return 0;