[patch] avoid spurious "authentication timed out" message

Phil Blundell pb
Wed Aug 25 08:50:57 PDT 2010


If the active network was deleted by a REMOVE_NETWORK command while a
connection attempt was in progress, it was possible for the auth_timer
to be left running and later generate an unwanted "authentication with
00:00:00:00:00:00 timed out" message.  This patch (against
wpa_supplicant 0.6.10) prevents that from happening.

p.

--

--- wpa_supplicant/ctrl_iface.c	2010-01-12 14:55:02.000000000 +0000
+++ wpa_supplicant/ctrl_iface.c	2010-08-20 15:06:01.000000000 +0100
@@ -919,6 +919,7 @@
 		 */
 		eapol_sm_invalidate_cached_session(wpa_s->eapol);
 
+		wpa_supplicant_cancel_auth_timeout(wpa_s);
 		wpa_supplicant_disassociate(wpa_s, WLAN_REASON_DEAUTH_LEAVING);
 	}
 





More information about the Hostap mailing list