P2P: Remove a call to wpas_p2p_deinit_global()
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>
This commit is contained in:
parent
ab7a1addf2
commit
72950ed240
1 changed files with 0 additions and 3 deletions
|
@ -3416,9 +3416,6 @@ void wpa_supplicant_deinit(struct wpa_global *global)
|
||||||
#ifdef CONFIG_WIFI_DISPLAY
|
#ifdef CONFIG_WIFI_DISPLAY
|
||||||
wifi_display_deinit(global);
|
wifi_display_deinit(global);
|
||||||
#endif /* CONFIG_WIFI_DISPLAY */
|
#endif /* CONFIG_WIFI_DISPLAY */
|
||||||
#ifdef CONFIG_P2P
|
|
||||||
wpas_p2p_deinit_global(global);
|
|
||||||
#endif /* CONFIG_P2P */
|
|
||||||
|
|
||||||
while (global->ifaces)
|
while (global->ifaces)
|
||||||
wpa_supplicant_remove_iface(global, global->ifaces, 1);
|
wpa_supplicant_remove_iface(global, global->ifaces, 1);
|
||||||
|
|
Loading…
Reference in a new issue