[PATCH 4/9] wpa_supplicant: clear reattach flag in fast associate flow
Ilan Peer
ilan.peer
Sun Jan 18 17:44:07 PST 2015
From: Ben <ben.rosenfeld at intel.com>
Clear the reattach flags, in case a connection request did not trigger a scan
Signed-off-by: Ben <ben.rosenfeld at intel.com>
---
wpa_supplicant/wpa_supplicant.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c
index 000c9ba..eeeb3c3 100644
--- a/wpa_supplicant/wpa_supplicant.c
+++ b/wpa_supplicant/wpa_supplicant.c
@@ -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;
}
--
1.8.3.2
More information about the Hostap
mailing list