ソースを参照

qcacld-3.0: Clean up mlm states during heart beat failure

During Heart Beat failures, the mlm states are not cleared properly
which resulted in stability issues. Fix it by setting the mlm
states properly during heart beat failure.

Change-Id: Ib54a29758ad31fa95726a59a7118b11931b49970
CRs-Fixed: 967796
Komal Seelam 9 年 前
コミット
4c2ed0798f
1 ファイル変更0 行追加14 行削除
  1. 0 14
      core/mac/src/pe/lim/lim_link_monitoring_algo.c

+ 0 - 14
core/mac/src/pe/lim/lim_link_monitoring_algo.c

@@ -361,20 +361,6 @@ lim_tear_down_link_with_ap(tpAniSirGlobal pMac, uint8_t sessionId,
 		pStaDs->mlmStaContext.disassocReason = reasonCode;
 		pStaDs->mlmStaContext.cleanupTrigger =
 			eLIM_LINK_MONITORING_DEAUTH;
-
-		/*
-		 * Set state to mlm State to eLIM_MLM_WT_DEL_STA_RSP_STATE
-		 * This is to address the issue of race condition between
-		 * disconnect request from the HDD and deauth from
-		 * Tx inactivity timer by FWR. This will make sure that we
-		 * will not process disassoc if deauth is in progress for
-		 * the station and thus mlmStaContext.cleanupTrigger will
-		 * not be overwritten.
-		 */
-
-		pStaDs->mlmStaContext.mlmState =
-					eLIM_MLM_WT_DEL_STA_RSP_STATE;
-
 		/* / Issue Deauth Indication to SME. */
 		qdf_mem_copy((uint8_t *) &mlmDeauthInd.peerMacAddr,
 			     pStaDs->staAddr, sizeof(tSirMacAddr));