mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
SME: Do not process disassoc frame unless SME is used
This avoids an infinite loop with driver_test.c when using IBSS.
This commit is contained in:
parent
3680a5dbbf
commit
0e379654b0
@ -1384,7 +1384,8 @@ void wpa_supplicant_event(void *ctx, wpa_event_type event,
|
||||
wpa_supplicant_event_assoc(wpa_s, data);
|
||||
break;
|
||||
case EVENT_DISASSOC:
|
||||
sme_event_disassoc(wpa_s, data);
|
||||
if (wpa_s->drv_flags & WPA_DRIVER_FLAGS_SME)
|
||||
sme_event_disassoc(wpa_s, data);
|
||||
/* fall through */
|
||||
case EVENT_DEAUTH:
|
||||
wpa_supplicant_event_disassoc(wpa_s);
|
||||
|
Loading…
Reference in New Issue
Block a user