mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
Allow legacy PS param to be set with SET in addition to P2P_SET
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
aa074a6485
commit
b2ff168128
@ -239,6 +239,8 @@ static int wpa_supplicant_ctrl_iface_set(struct wpa_supplicant *wpa_s,
|
||||
if (vo)
|
||||
wpa_s->sta_uapsd |= BIT(3);
|
||||
}
|
||||
} else if (os_strcasecmp(cmd, "ps") == 0) {
|
||||
ret = wpa_drv_set_p2p_powersave(wpa_s, atoi(value), -1, -1);
|
||||
} else {
|
||||
value[-1] = '=';
|
||||
ret = wpa_config_process_global(wpa_s->conf, cmd, -1);
|
||||
|
Loading…
Reference in New Issue
Block a user