diff options
author | Jouni Malinen <jouni@qca.qualcomm.com> | 2012-02-16 16:29:19 +0200 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2012-02-16 16:29:19 +0200 |
commit | b2ff168128cde761e510eac46092ee2c50099535 (patch) | |
tree | ee06a380e73894bd9c1a346619f918353e636b92 | |
parent | aa074a6485ee0f876fdfb65b61a3f537f6348963 (diff) | |
download | external_wpa_supplicant_8_ti-b2ff168128cde761e510eac46092ee2c50099535.zip external_wpa_supplicant_8_ti-b2ff168128cde761e510eac46092ee2c50099535.tar.gz external_wpa_supplicant_8_ti-b2ff168128cde761e510eac46092ee2c50099535.tar.bz2 |
Allow legacy PS param to be set with SET in addition to P2P_SET
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
-rw-r--r-- | wpa_supplicant/ctrl_iface.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c index 5eaa539..2c8fd51 100644 --- a/wpa_supplicant/ctrl_iface.c +++ b/wpa_supplicant/ctrl_iface.c @@ -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); |