From: Jouni Malinen Date: Sun, 4 Dec 2011 20:27:48 +0000 (+0200) Subject: SME: Fix processing of Authentication timeout X-Git-Tag: aosp-jb-start~184 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14115a108901616aa83e800609118146b9487d93;p=thirdparty%2Fhostap.git 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 --- 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); }