mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
Allow SME SA Query to be used by all drivers
The unprotected disconnection events were previously processed only for drivers that used the wpa_supplicant SME implementation (separate authentication and association commands). However, this can be useful for drivers that use the connect API, so remove the limitation and allow the same IEEE 802.11w SA Query mechanism to be used even without full use of the wpa_supplicant SME. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
5139008b51
commit
3ee9ade6cf
@ -1269,8 +1269,6 @@ void sme_event_unprot_disconnect(struct wpa_supplicant *wpa_s, const u8 *sa,
|
||||
{
|
||||
struct wpa_ssid *ssid;
|
||||
|
||||
if (!(wpa_s->drv_flags & WPA_DRIVER_FLAGS_SME))
|
||||
return;
|
||||
if (wpa_s->wpa_state != WPA_COMPLETED)
|
||||
return;
|
||||
ssid = wpa_s->current_ssid;
|
||||
|
Loading…
Reference in New Issue
Block a user