From bdc713cfdefbc6a0761df53695180dad2ca40fa5 Mon Sep 17 00:00:00 2001 From: Arun Kumar Khandavalli Date: Mon, 18 Nov 2019 19:37:00 +0530 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_hostapd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c index 9608489c1320..eb2904bfe40b 100644 --- a/core/hdd/src/wlan_hdd_hostapd.c +++ b/core/hdd/src/wlan_hdd_hostapd.c @@ -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); } }