projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f967fe
)
SME: Retry scan after authentication failure
author
Jouni Malinen
<jouni.malinen@atheros.com>
Sun, 18 Jul 2010 03:27:19 +0000
(20:27 -0700)
committer
Jouni Malinen
<j@w1.fi>
Sun, 18 Jul 2010 03:27:19 +0000
(20:27 -0700)
This is needed to avoid getting stuck if driver fails authentication
request for some reason.
wpa_supplicant/sme.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/sme.c
b/wpa_supplicant/sme.c
index
c66e522
..
b5927c5
100644
(file)
--- 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;
}