[PATCH 1/2] wpa_supplicant: Clear ext_mgmt_frame_handling flag on P2P_FLUSH

Andrei Otcheretianski andrei.otcheretianski at intel.com
Mon Aug 21 09:37:11 PDT 2017


This allows to use this flag on a dedicated P2P device interface,
which is needed to support MGMT_TX/RX on P2P device.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski at intel.com>
---
 wpa_supplicant/ctrl_iface.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c
index 863dc99..6f91b83 100644
--- a/wpa_supplicant/ctrl_iface.c
+++ b/wpa_supplicant/ctrl_iface.c
@@ -6669,6 +6669,7 @@ static void p2p_ctrl_flush(struct wpa_supplicant *wpa_s)
 {
 	os_memset(wpa_s->p2p_auth_invite, 0, ETH_ALEN);
 	wpa_s->force_long_sd = 0;
+	wpa_s->ext_mgmt_frame_handling = 0;
 
 #ifdef CONFIG_TESTING_OPTIONS
 	os_free(wpa_s->get_pref_freq_list_override);
-- 
2.7.4




More information about the Hostap mailing list