mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-31 01:04:03 -05:00
Fixed NDIS AuthMode configuration for WPS connection
This commit is contained in:
parent
8647475ebe
commit
723763cba0
@ -1043,6 +1043,11 @@ wpa_driver_ndis_associate(void *priv,
|
|||||||
auth_mode = Ndis802_11AuthModeWPA2PSK;
|
auth_mode = Ndis802_11AuthModeWPA2PSK;
|
||||||
else
|
else
|
||||||
auth_mode = Ndis802_11AuthModeWPA2;
|
auth_mode = Ndis802_11AuthModeWPA2;
|
||||||
|
#ifdef CONFIG_WPS
|
||||||
|
} else if (params->key_mgmt_suite == KEY_MGMT_WPS) {
|
||||||
|
auth_mode = Ndis802_11AuthModeOpen;
|
||||||
|
priv_mode = Ndis802_11PrivFilterAcceptAll;
|
||||||
|
#endif /* CONFIG_WPS */
|
||||||
} else {
|
} else {
|
||||||
priv_mode = Ndis802_11PrivFilter8021xWEP;
|
priv_mode = Ndis802_11PrivFilter8021xWEP;
|
||||||
if (params->key_mgmt_suite == KEY_MGMT_WPA_NONE)
|
if (params->key_mgmt_suite == KEY_MGMT_WPA_NONE)
|
||||||
|
Loading…
Reference in New Issue
Block a user