projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76202ae
)
Fix compiler warning with CONFIG_NO_SCAN_PROCESSING=y
author
Jouni Malinen
<j@w1.fi>
Sun, 11 Dec 2011 16:14:09 +0000
(18:14 +0200)
committer
Jouni Malinen
<j@w1.fi>
Sun, 11 Dec 2011 16:14:09 +0000
(18:14 +0200)
Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/events.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/events.c
b/wpa_supplicant/events.c
index
c389917
..
40b3026
100644
(file)
--- a/
wpa_supplicant/events.c
+++ b/
wpa_supplicant/events.c
@@
-1618,12
+1618,14
@@
static void wpa_supplicant_event_disassoc(struct wpa_supplicant *wpa_s,
sme_disassoc_while_authenticating(wpa_s, prev_pending_bssid);
if (fast_reconnect) {
+#ifndef CONFIG_NO_SCAN_PROCESSING
wpa_dbg(wpa_s, MSG_DEBUG, "Try to reconnect to the same BSS");
if (wpa_supplicant_connect(wpa_s, fast_reconnect,
fast_reconnect_ssid) < 0) {
/* Recover through full scan */
wpa_supplicant_req_scan(wpa_s, 0, 100000);
}
+#endif /* CONFIG_NO_SCAN_PROCESSING */
}
}