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>
This commit is contained in:
parent
f3be6eea9b
commit
d20c340f7e
1 changed files with 1 additions and 0 deletions
|
@ -2102,6 +2102,7 @@ int interworking_select(struct wpa_supplicant *wpa_s, int auto_select)
|
||||||
wpa_s->normal_scans = 0;
|
wpa_s->normal_scans = 0;
|
||||||
wpa_s->scan_req = MANUAL_SCAN_REQ;
|
wpa_s->scan_req = MANUAL_SCAN_REQ;
|
||||||
wpa_s->after_wps = 0;
|
wpa_s->after_wps = 0;
|
||||||
|
wpa_s->known_wps_freq = 0;
|
||||||
wpa_supplicant_req_scan(wpa_s, 0, 0);
|
wpa_supplicant_req_scan(wpa_s, 0, 0);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue