diff options
| author | Ganesh Kondabattini <ganeshk@qti.qualcomm.com> | 2014-06-05 19:10:27 +0530 |
|---|---|---|
| committer | Akash Patel <c_akashp@qca.qualcomm.com> | 2014-06-09 17:46:20 -0700 |
| commit | 342c5a5d8b42c5c3d35e2e78a32bf646f04d0deb (patch) | |
| tree | 058f2935200a8ee75cb86c7e85a91500141520f8 | |
| parent | b2ea6224b15f9af5a6d3e08561ce6037758a64f4 (diff) | |
qcacld: send response to SME when switch channel fails.
LIM is not sending response to SME when switch channel fails while
roaming. Due to this the preauth (roam) is not freed from the SME
active command queue and leading to SME active command queue
stuck.
Send the preauth response with failure status from lim to SME
when switch channel fails while roaming.
Change-Id: I8bef5bc772d8334d97b5ddfa3c39636ac1f01d76
CRs-Fixed: 676041
| -rw-r--r-- | CORE/MAC/src/pe/lim/limFT.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/CORE/MAC/src/pe/lim/limFT.c b/CORE/MAC/src/pe/lim/limFT.c index 1f811c5d2287..02f210982ad8 100644 --- a/CORE/MAC/src/pe/lim/limFT.c +++ b/CORE/MAC/src/pe/lim/limFT.c @@ -346,7 +346,7 @@ void limPerformFTPreAuth(tpAniSirGlobal pMac, eHalStatus status, tANI_U32 *data, PELOGE(limLog( pMac, LOGE, "%s: FTIEs for Auth Req Seq 1 is absent", __func__);) - return; + goto preauth_fail; } } if (status != eHAL_STATUS_SUCCESS) @@ -354,7 +354,7 @@ void limPerformFTPreAuth(tpAniSirGlobal pMac, eHalStatus status, tANI_U32 *data, PELOGE(limLog( pMac, LOGE, "%s: Change channel not successful for FT pre-auth", __func__);) - return; + goto preauth_fail; } pMac->ft.ftPEContext.psavedsessionEntry = psessionEntry; @@ -401,6 +401,9 @@ MTRACE(macTrace(pMac, TRACE_CODE_TIMER_ACTIVATE, psessionEntry->peSessionId, eLI LIM_NO_WEP_IN_FC, psessionEntry); return; +preauth_fail: + limHandleFTPreAuthRsp(pMac, eSIR_FAILURE, NULL, 0, psessionEntry); + return; } |
