Use scan results for reconnection
This patch uses existing scan results for fast connection on REASSOCIATE and RECONNECT commands. Signed-hostap: Masashi Honma <masashi.honma@gmail.com>
This commit is contained in:
parent
565bb65d5c
commit
5e24beae02
1 changed files with 3 additions and 1 deletions
|
@ -3757,5 +3757,7 @@ void wpas_request_connection(struct wpa_supplicant *wpa_s)
|
||||||
wpa_s->extra_blacklist_count = 0;
|
wpa_s->extra_blacklist_count = 0;
|
||||||
wpa_s->disconnected = 0;
|
wpa_s->disconnected = 0;
|
||||||
wpa_s->reassociate = 1;
|
wpa_s->reassociate = 1;
|
||||||
|
|
||||||
|
if (wpa_supplicant_fast_associate(wpa_s) != 1)
|
||||||
wpa_supplicant_req_scan(wpa_s, 0, 0);
|
wpa_supplicant_req_scan(wpa_s, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue