From 4c2ed0798f0be66b11e4bc08623d444f0301c9f0 Mon Sep 17 00:00:00 2001 From: Komal Seelam Date: Mon, 1 Feb 2016 12:28:33 +0530 Subject: [PATCH] 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 --- core/mac/src/pe/lim/lim_link_monitoring_algo.c | 14 -------------- 1 file changed, 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));