diff --git a/wpa_supplicant/notify.c b/wpa_supplicant/notify.c index de33019ea..df1ce9e0c 100644 --- a/wpa_supplicant/notify.c +++ b/wpa_supplicant/notify.c @@ -316,6 +316,9 @@ void wpas_notify_network_removed(struct wpa_supplicant *wpa_s, wpa_sm_pmksa_cache_flush(wpa_s->wpa, ssid); if (!ssid->p2p_group && wpa_s->global->p2p_group_formation != wpa_s) wpas_dbus_unregister_network(wpa_s, ssid->id); + if (network_is_persistent_group(ssid)) + wpas_notify_persistent_group_removed(wpa_s, ssid); + wpas_p2p_network_removed(wpa_s, ssid); }