diff options
| author | Padma, Santhosh Kumar <skpadma@qti.qualcomm.com> | 2016-07-08 16:08:29 +0530 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2016-07-21 13:21:54 +0530 |
| commit | 289106a4f73b1a2849eee6fca53b0c036a89f9e1 (patch) | |
| tree | c11539d00ad689376953f34b574497845ab3a8d4 | |
| parent | 33bd921c255e21c884f3541d0ada8f1f5944c71a (diff) | |
qcacld-2.0: Handle MCC during preauth response
Currently MCC check is added during preauth request handling. Add this MCC
check during preauth response handling as variables gLimSystemInScanLearnMode
and gpLimResumeCallback are not reset properly without this check. This can
result in dropping further pre-auth requests in MCC scenario.
Change-Id: I4391ad5e2446f6cdbe38bbe47c6fdd57f47839a3
CRs-Fixed: 1038049
| -rw-r--r-- | CORE/MAC/src/pe/lim/limFT.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CORE/MAC/src/pe/lim/limFT.c b/CORE/MAC/src/pe/lim/limFT.c index 5d285fe5b907..80e223667cd2 100644 --- a/CORE/MAC/src/pe/lim/limFT.c +++ b/CORE/MAC/src/pe/lim/limFT.c @@ -1306,8 +1306,9 @@ void limHandleFTPreAuthRsp(tpAniSirGlobal pMac, tSirRetStatus status, } send_rsp: - if (psessionEntry->currentOperChannel != - psessionEntry->ftPEContext.pFTPreAuthReq->preAuthchannelNum) { + if ((psessionEntry->currentOperChannel != + psessionEntry->ftPEContext.pFTPreAuthReq->preAuthchannelNum) + || limIsInMCC(pMac)) { /* Need to move to the original AP channel */ limChangeChannelWithCallback(pMac, psessionEntry->currentOperChannel, limPerformPostFTPreAuthAndChannelChange, |
