summaryrefslogtreecommitdiff
path: root/core/mac/src
diff options
context:
space:
mode:
authorKomal Seelam <kseelam@codeaurora.org>2016-02-01 12:28:33 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2016-04-17 18:08:17 -0700
commit4c2ed0798f0be66b11e4bc08623d444f0301c9f0 (patch)
tree171b7d5f321aa308f401d75b5962230f999f7e0b /core/mac/src
parent3e6b687e3a9b54d9478d5eaeda043d224770612a (diff)
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
Diffstat (limited to 'core/mac/src')
-rw-r--r--core/mac/src/pe/lim/lim_link_monitoring_algo.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/core/mac/src/pe/lim/lim_link_monitoring_algo.c b/core/mac/src/pe/lim/lim_link_monitoring_algo.c
index 07ca20322c8b..7aefc449485a 100644
--- a/core/mac/src/pe/lim/lim_link_monitoring_algo.c
+++ b/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));