From 14115a108901616aa83e800609118146b9487d93 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 4 Dec 2011 22:27:48 +0200 Subject: [PATCH] SME: Fix processing of Authentication timeout The wpa_state needs to be dropped back to DISCONNECTED to allow scan results to trigger a new authentication attempt. Signed-hostap: Jouni Malinen --- wpa_supplicant/sme.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wpa_supplicant/sme.c b/wpa_supplicant/sme.c index 8e1d95a94..c5e47d180 100644 --- a/wpa_supplicant/sme.c +++ b/wpa_supplicant/sme.c @@ -503,6 +503,7 @@ void sme_event_auth_timed_out(struct wpa_supplicant *wpa_s, union wpa_event_data *data) { wpa_dbg(wpa_s, MSG_DEBUG, "SME: Authentication timed out"); + wpa_supplicant_set_state(wpa_s, WPA_DISCONNECTED); wpas_connection_failed(wpa_s, wpa_s->pending_bssid); }