소스 검색

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)