mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-17 18:34:03 -05:00
Fix CONFIG_NO_SCAN_PROCESSING=y build
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
3a8ec7382e
commit
daa70bdf68
@ -2122,9 +2122,7 @@ static void wpa_supplicant_event_disassoc_finish(struct wpa_supplicant *wpa_s,
|
|||||||
int authenticating;
|
int authenticating;
|
||||||
u8 prev_pending_bssid[ETH_ALEN];
|
u8 prev_pending_bssid[ETH_ALEN];
|
||||||
struct wpa_bss *fast_reconnect = NULL;
|
struct wpa_bss *fast_reconnect = NULL;
|
||||||
#ifndef CONFIG_NO_SCAN_PROCESSING
|
|
||||||
struct wpa_ssid *fast_reconnect_ssid = NULL;
|
struct wpa_ssid *fast_reconnect_ssid = NULL;
|
||||||
#endif /* CONFIG_NO_SCAN_PROCESSING */
|
|
||||||
struct wpa_ssid *last_ssid;
|
struct wpa_ssid *last_ssid;
|
||||||
|
|
||||||
authenticating = wpa_s->wpa_state == WPA_AUTHENTICATING;
|
authenticating = wpa_s->wpa_state == WPA_AUTHENTICATING;
|
||||||
@ -2167,9 +2165,7 @@ static void wpa_supplicant_event_disassoc_finish(struct wpa_supplicant *wpa_s,
|
|||||||
* time for some common cases.
|
* time for some common cases.
|
||||||
*/
|
*/
|
||||||
fast_reconnect = wpa_s->current_bss;
|
fast_reconnect = wpa_s->current_bss;
|
||||||
#ifndef CONFIG_NO_SCAN_PROCESSING
|
|
||||||
fast_reconnect_ssid = wpa_s->current_ssid;
|
fast_reconnect_ssid = wpa_s->current_ssid;
|
||||||
#endif /* CONFIG_NO_SCAN_PROCESSING */
|
|
||||||
} else if (wpa_s->wpa_state >= WPA_ASSOCIATING)
|
} else if (wpa_s->wpa_state >= WPA_ASSOCIATING)
|
||||||
wpa_supplicant_req_scan(wpa_s, 0, 100000);
|
wpa_supplicant_req_scan(wpa_s, 0, 100000);
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user