[10/20] wpa_s: p2p: remove call to wpas_p2p_deinit_global()

Submitted by Arend van Spriel on May 16, 2013, 1:28 p.m.

Details

Message ID 1368710915-32176-11-git-send-email-arend@broadcom.com
State Changes Requested
Headers show

Commit Message

Arend van Spriel May 16, 2013, 1:28 p.m.
In wpa_supplicant_deinit() the function wpas_p2p_deinit_global()
was called. Remove it as it will be called from wpas_deinit_iface()
upon removal of the P2P management interface.

Signed-hostap: Arend van Spriel <arend@broadcom.com>
---
 wpa_supplicant/wpa_supplicant.c |    3 ---
 1 file changed, 3 deletions(-)

Patch hide | download patch | download mbox

diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c
index 525e757..0f70fff 100644
--- a/wpa_supplicant/wpa_supplicant.c
+++ b/wpa_supplicant/wpa_supplicant.c
@@ -3400,9 +3400,6 @@  void wpa_supplicant_deinit(struct wpa_global *global)
 #ifdef CONFIG_WIFI_DISPLAY
 	wifi_display_deinit(global);
 #endif /* CONFIG_WIFI_DISPLAY */
-#ifdef CONFIG_P2P
-	wpas_p2p_deinit_global(global);
-#endif /* CONFIG_P2P */
 
 	while (global->ifaces)
 		wpa_supplicant_remove_iface(global, global->ifaces, 1);