瀏覽代碼

qcacld-3.0: Remove associated peers during SAP stop

SAP failed to remove all the associated peers during
shutdown which triggered assert at WMA.

Cleanup all the associated peers as part of the
stop bss at LIM to avoid the assert.

Change-Id: I3610590fd443f807d20f61bb050124506794cc2b
CRs-Fixed: 2251399
Sandeep Puligilla 6 年之前
父節點
當前提交
a894ffc75c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/mac/src/pe/lim/lim_process_sme_req_messages.c

+ 1 - 1
core/mac/src/pe/lim/lim_process_sme_req_messages.c

@@ -3008,7 +3008,7 @@ __lim_handle_sme_stop_bss_request(tpAniSirGlobal pMac, uint32_t *pMsgBuf)
 		 */
 		pMac->lim.gLimIbssCoalescingHappened = false;
 	}
-	for (i = 1; i <= pMac->lim.gLimAssocStaLimit; i++) {
+	for (i = 1; i < psessionEntry->dph.dphHashTable.size; i++) {
 		pStaDs =
 			dph_get_hash_entry(pMac, i, &psessionEntry->dph.dphHashTable);
 		if (NULL == pStaDs)