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
1 changed files with 2 additions and 0 deletions
|
@ -239,6 +239,8 @@ static int wpa_supplicant_ctrl_iface_set(struct wpa_supplicant *wpa_s,
|
||||||
if (vo)
|
if (vo)
|
||||||
wpa_s->sta_uapsd |= BIT(3);
|
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 {
|
} else {
|
||||||
value[-1] = '=';
|
value[-1] = '=';
|
||||||
ret = wpa_config_process_global(wpa_s->conf, cmd, -1);
|
ret = wpa_config_process_global(wpa_s->conf, cmd, -1);
|
||||||
|
|
Loading…
Add table
Reference in a new issue