mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
nl80211: Allow full AP client state capability to be disabled
The new driver param full_ap_client_state=0 can be used to test functionality with the driver capability for full AP client state being forced to be disabled. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
7b156a3c5a
commit
1a18f8df63
@ -8128,6 +8128,9 @@ static int nl80211_set_param(void *priv, const char *param)
|
||||
if (os_strstr(param, "control_port=0"))
|
||||
drv->capa.flags &= ~WPA_DRIVER_FLAGS_CONTROL_PORT;
|
||||
|
||||
if (os_strstr(param, "full_ap_client_state=0"))
|
||||
drv->capa.flags &= ~WPA_DRIVER_FLAGS_FULL_AP_CLIENT_STATE;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user