summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaveen Rawat <nrawat@qca.qualcomm.com>2015-06-24 12:17:42 -0700
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2015-06-25 20:39:18 +0530
commitc85ccc7a5a7bcf5639c1cc3c4cbfb392f4bebaa1 (patch)
treec504958cc98c99d983cb3c8ebf49fb3e87c79760
parentf1807542120ff4fb75581de29a99c28688a5d0d8 (diff)
qcacld-2.0: Fix for ht protection not resetting when HT20 sta leaves
In function limDecideApProtectionOnDelete(), code first checks for NonGF STA followed by HT20 STA. If a STa is both NON GF and HT20 only, first condition check will be satisfied and it will clear up the cache entry. This causes failure to decrement the counter for HT20 STA and hence when HT20 STA leaves from us, the counter is still non zero. Thus causing protection bits to remain 10. Change-Id: I1d45458ac8639a11d853daf4241b9ac035c400ab CRs-Fixed: 861060
-rw-r--r--CORE/MAC/src/pe/lim/limAssocUtils.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/CORE/MAC/src/pe/lim/limAssocUtils.c b/CORE/MAC/src/pe/lim/limAssocUtils.c
index 14c72b04f0a0..557c4d2c4944 100644
--- a/CORE/MAC/src/pe/lim/limAssocUtils.c
+++ b/CORE/MAC/src/pe/lim/limAssocUtils.c
@@ -1102,7 +1102,6 @@ limDecideApProtectionOnDelete(tpAniSirGlobal pMac,
pStaDs->staAddr, sizeof(tSirMacAddr)))
{
psessionEntry->gLim11aParams.numSta--;
- psessionEntry->protStaCache[i].active = false;
break;
}
}
@@ -1209,7 +1208,6 @@ limDecideApProtectionOnDelete(tpAniSirGlobal pMac,
pStaDs->staAddr, sizeof(tSirMacAddr)))
{
psessionEntry->gLimNonGfParams.numSta--;
- psessionEntry->protStaCache[i].active = false;
break;
}
}
@@ -1245,7 +1243,6 @@ limDecideApProtectionOnDelete(tpAniSirGlobal pMac,
pStaDs->staAddr, sizeof(tSirMacAddr)))
{
psessionEntry->gLimLsigTxopParams.numSta--;
- psessionEntry->protStaCache[i].active = false;
break;
}
}