diff options
| author | Kapil Gupta <kapgupta@codeaurora.org> | 2017-03-03 12:19:27 +0530 |
|---|---|---|
| committer | Sandeep Puligilla <spuligil@codeaurora.org> | 2017-03-13 05:13:55 -0700 |
| commit | 77200682e75cd033bbb47692da382b963e5511b0 (patch) | |
| tree | e688d8c30db2f3ef1669f6c9a95be63b9328c1e9 | |
| parent | 4a3d74b71da21a21af40ec5d9b5a84c852fe7a54 (diff) | |
qcacld-2.0: Process auth failure response even if session is not present
Prima to qcacld-2.0 propagation
If DUT gets a deauth frame during the preauth, it may be possible
that session gets deleted even before that preauth is attempted
or processed. CSR state machine will get reset in this case which
will cause response to not to process. This eventually will cause
smeTimeoutHandler since command won't be removed from active list.
Add changes to process auth resp irrespective of csr state.
Change-Id: Ie8f2ee3a19e083b86a6720c39da97f25a03181c8
CRs-Fixed: 1113390
| -rw-r--r-- | CORE/SME/src/csr/csrCmdProcess.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CORE/SME/src/csr/csrCmdProcess.c b/CORE/SME/src/csr/csrCmdProcess.c index dd3b97fe0126..b3ee0ec14d3b 100644 --- a/CORE/SME/src/csr/csrCmdProcess.c +++ b/CORE/SME/src/csr/csrCmdProcess.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011-2014 The Linux Foundation. All rights reserved. + * Copyright (c) 2011-2014, 2017 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -132,7 +132,8 @@ eHalStatus csrMsgProcessor( tpAniSirGlobal pMac, void *pMsgBuf ) * workable due to failure or finding the condition meets both SAP and infra/IBSS requirement. */ if( (eWNI_SME_SETCONTEXT_RSP == pSmeRsp->messageType) || - (eWNI_SME_REMOVEKEY_RSP == pSmeRsp->messageType) ) + (eWNI_SME_REMOVEKEY_RSP == pSmeRsp->messageType) || + (pSmeRsp->messageType == eWNI_SME_FT_PRE_AUTH_RSP)) { smsLog(pMac, LOGW, FL(" handling msg 0x%X CSR state is %d"), pSmeRsp->messageType, pMac->roam.curState[pSmeRsp->sessionId]); csrRoamCheckForLinkStatusChange(pMac, pSmeRsp); |
