diff options
| author | Nishank Aggarwal <naggar@codeaurora.org> | 2016-10-01 17:27:42 +0530 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2016-10-04 11:46:46 +0530 |
| commit | 3f608e2c19255fe61680f41d3dd2274eb31112fa (patch) | |
| tree | c236138858e074e3c8052a0eb6deca74b134424d | |
| parent | 608bcafa27fafe389939058110a27f1f0ab6912f (diff) | |
qcacld-2.0: Fix warning while unloading wlan
In case of PMF connection pmfcomeback timer is initialized
for STA mode. For AP mode pmfcomeback timer is not initialized
Because of this there is warning while destroying pmfcomeback
timer.
Fix is to destroy pmfcomeback timer only for STA mode.
Change-Id: I87c0f209bb7189168ad0f55723b754edca2fa465
CRs-Fixed: 1073470
| -rw-r--r-- | CORE/MAC/src/pe/lim/limSession.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CORE/MAC/src/pe/lim/limSession.c b/CORE/MAC/src/pe/lim/limSession.c index 7f0ebafc3f2c..fe67fe1dac82 100644 --- a/CORE/MAC/src/pe/lim/limSession.c +++ b/CORE/MAC/src/pe/lim/limSession.c @@ -825,7 +825,7 @@ void peDeleteSession(tpAniSirGlobal pMac, tpPESession psessionEntry) #ifdef WLAN_FEATURE_11W /* if PMF connection */ - if (psessionEntry->limRmfEnabled) { + if (psessionEntry->limRmfEnabled && LIM_IS_STA_ROLE(psessionEntry)) { vos_timer_destroy(&psessionEntry->pmfComebackTimer); } #endif |
