瀏覽代碼

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
Arun Kumar Khandavalli 5 年之前
父節點
當前提交
bdc713cfde
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      core/hdd/src/wlan_hdd_hostapd.c

+ 1 - 0
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);
 			}
 		}