|
@@ -3679,6 +3679,8 @@ static void wpa_supplicant_deinit_iface(struct wpa_supplicant *wpa_s,
|
|
wpa_supplicant_cleanup(wpa_s);
|
|
wpa_supplicant_cleanup(wpa_s);
|
|
|
|
|
|
#ifdef CONFIG_P2P
|
|
#ifdef CONFIG_P2P
|
|
|
|
+ if (wpa_s == wpa_s->parent)
|
|
|
|
+ wpas_p2p_group_remove(wpa_s, "*");
|
|
if (wpa_s == wpa_s->global->p2p_init_wpa_s && wpa_s->global->p2p) {
|
|
if (wpa_s == wpa_s->global->p2p_init_wpa_s && wpa_s->global->p2p) {
|
|
wpa_dbg(wpa_s, MSG_DEBUG, "P2P: Disable P2P since removing "
|
|
wpa_dbg(wpa_s, MSG_DEBUG, "P2P: Disable P2P since removing "
|
|
"the management interface is being removed");
|
|
"the management interface is being removed");
|