diff options
| author | Nishank Aggarwal <c_naggar@qti.qualcomm.com> | 2016-08-08 14:44:57 +0530 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2016-08-09 18:00:36 +0530 |
| commit | b425492b2e1b5c73efe4710b507665647dbdce9c (patch) | |
| tree | b732314d165d6ce3ab5cebf9881ce2a2a82dc9b9 | |
| parent | 4520f73912c95e9fefae93c6a10a19ffa5f1f82c (diff) | |
qcacld-2.0: Fix warning while stopping pmfcomeback timer for roam session
In case of PMF connection pmfcomeback timer is initialized
for the old session and not for new FT session and thus
gives warning while stopping the timer when FT session is
deleted.
Fix this issue by initializing PMF timer for FT session.
Change-Id: I7ef1db436c39a824aeb199e51d28a011d527f7bd
CRs-Fixed: 1050380
| -rw-r--r-- | CORE/MAC/src/pe/lim/limFT.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/CORE/MAC/src/pe/lim/limFT.c b/CORE/MAC/src/pe/lim/limFT.c index 64c45e90ea55..4f60939a6e2f 100644 --- a/CORE/MAC/src/pe/lim/limFT.c +++ b/CORE/MAC/src/pe/lim/limFT.c @@ -996,14 +996,14 @@ void limFillFTSession(tpAniSirGlobal pMac, #ifdef WLAN_FEATURE_11W pftSessionEntry->limRmfEnabled = psessionEntry->limRmfEnabled; - if (psessionEntry->limRmfEnabled) { - psessionEntry->pmfComebackTimerInfo.pMac = pMac; - psessionEntry->pmfComebackTimerInfo.sessionID = + if (pftSessionEntry->limRmfEnabled) { + pftSessionEntry->pmfComebackTimerInfo.pMac = pMac; + pftSessionEntry->pmfComebackTimerInfo.sessionID = psessionEntry->smeSessionId; - vosStatus = vos_timer_init(&psessionEntry->pmfComebackTimer, + vosStatus = vos_timer_init(&pftSessionEntry->pmfComebackTimer, VOS_TIMER_TYPE_SW, limPmfComebackTimerCallback, - (void *)&psessionEntry->pmfComebackTimerInfo); + (void *)&pftSessionEntry->pmfComebackTimerInfo); if (VOS_STATUS_SUCCESS != vosStatus) { limLog(pMac, LOGP, FL("cannot init pmf comeback timer.")); |
