From: Jouni Malinen Date: Sun, 5 Jan 2014 06:53:35 +0000 (+0200) Subject: P2P: Clear services on FLUSH command X-Git-Tag: hostap_2_1~201 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3f45fc403fdfc5d6209c90f3abc8fa8572dd57ab;p=thirdparty%2Fhostap.git 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 --- 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