Commit 21d6bc8c authored by Jouni Malinen's avatar Jouni Malinen Committed by Dmitry Shmidt
Browse files

Allow legacy PS param to be set with SET in addition to P2P_SET


Change-Id: I26e19c7d9e303e075f28a4f01a798ac98b52d6e5
Signed-off-by: default avatarDmitry Shmidt <dimitrysh@google.com>
parent ad4992b1
......@@ -197,6 +197,8 @@ static int wpa_supplicant_ctrl_iface_set(struct wpa_supplicant *wpa_s,
ret = pno_start(wpa_s);
else
ret = pno_stop(wpa_s);
} 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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment