qcacld-3.0: Deregister the sta if stop bss fails

De-register the broadcast/connected sta if the stop_bss fails, so that
all the resources for the sta is properly freed.

Change-Id: Ib2462a98ca1ad561e39c3f69fa3f982b68d0fe63
CRs-Fixed: 2568668
This commit is contained in:
Arun Kumar Khandavalli 2019-11-18 19:37:00 +05:30 • committed by nshrivas
commit bdc713cfde

View file

@ -5739,6 +5739,7 @@ static int __wlan_hdd_cfg80211_stop_ap(struct wiphy *wiphy,
if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
hdd_err("qdf wait for single_event failed!!");
hdd_sap_indicate_disconnect_for_sta(adapter);
QDF_ASSERT(0);
}
}