From: Jouni Malinen Date: Sun, 18 Jul 2010 03:27:19 +0000 (-0700) Subject: SME: Retry scan after authentication failure X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;h=6e3f7173f1a560058c470d3dd6673d5461ce8f5b;p=libeap.git SME: Retry scan after authentication failure This is needed to avoid getting stuck if driver fails authentication request for some reason. --- diff --git a/wpa_supplicant/sme.c b/wpa_supplicant/sme.c index c66e522..b5927c5 100644 --- a/wpa_supplicant/sme.c +++ b/wpa_supplicant/sme.c @@ -228,6 +228,7 @@ void sme_authenticate(struct wpa_supplicant *wpa_s, if (wpa_drv_authenticate(wpa_s, ¶ms) < 0) { wpa_msg(wpa_s, MSG_INFO, "Authentication request to the " "driver failed"); + wpa_supplicant_req_scan(wpa_s, 1, 0); return; }