From 3f45fc403fdfc5d6209c90f3abc8fa8572dd57ab Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 5 Jan 2014 08:53:35 +0200 Subject: [PATCH] P2P: Clear services on FLUSH command The control interface FLUSH command now includes the step executed by the P2P_SERVICE_FLUSH command. Signed-hostap: Jouni Malinen --- 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 8e3931ffe..db4d31981 100644 --- a/wpa_supplicant/ctrl_iface.c +++ b/wpa_supplicant/ctrl_iface.c @@ -5167,6 +5167,7 @@ static void wpa_supplicant_ctrl_iface_flush(struct wpa_supplicant *wpa_s) wpas_p2p_stop_find(wpa_s); p2p_ctrl_flush(wpa_s); wpas_p2p_group_remove(wpa_s, "*"); + wpas_p2p_service_flush(wpa_s); #endif /* CONFIG_P2P */ #ifdef CONFIG_WPS_TESTING