Clear reattach flag in fast associate flow
Clear the reattach flags, in case a connection request did not trigger a scan. This needs to be done to avoid leaving the reattach flag set for the next scan operation which may not have anything to do with the specific request that could have been optimized using the single-channel single-SSID scan. Signed-off-by: Ben <ben.rosenfeld@intel.com>
This commit is contained in:
parent
8ad8bc5c36
commit
0c5f01fdf2
1 changed files with 2 additions and 0 deletions
|
@ -5032,6 +5032,8 @@ void wpas_request_connection(struct wpa_supplicant *wpa_s)
|
|||
|
||||
if (wpa_supplicant_fast_associate(wpa_s) != 1)
|
||||
wpa_supplicant_req_scan(wpa_s, 0, 0);
|
||||
else
|
||||
wpa_s->reattach = 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue