projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f45fc4
)
P2P: Clear p2p_disabled and p2p_per_sta_psk on FLUSH command
author
Jouni Malinen
<j@w1.fi>
Sun, 5 Jan 2014 06:56:36 +0000
(08:56 +0200)
committer
Jouni Malinen
<j@w1.fi>
Tue, 7 Jan 2014 08:45:10 +0000
(10:45 +0200)
The control interface FLUSH command now includes clearing of
"P2P_SET disabled 1" and "P2P_SET per_sta_psk 1".
Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/ctrl_iface.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/ctrl_iface.c
b/wpa_supplicant/ctrl_iface.c
index
db4d319
..
43b3eee
100644
(file)
--- a/
wpa_supplicant/ctrl_iface.c
+++ b/
wpa_supplicant/ctrl_iface.c
@@
-5168,6
+5168,8
@@
static void wpa_supplicant_ctrl_iface_flush(struct wpa_supplicant *wpa_s)
p2p_ctrl_flush(wpa_s);
wpas_p2p_group_remove(wpa_s, "*");
wpas_p2p_service_flush(wpa_s);
+ wpa_s->global->p2p_disabled = 0;
+ wpa_s->global->p2p_per_sta_psk = 0;
#endif /* CONFIG_P2P */
#ifdef CONFIG_WPS_TESTING