Browse Source

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 <j@w1.fi>
Jouni Malinen 11 years ago
parent
commit
3f45fc403f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      wpa_supplicant/ctrl_iface.c

+ 1 - 0
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