diff options
| author | Padma, Santhosh Kumar <skpadma@codeaurora.org> | 2017-03-17 13:10:21 +0530 |
|---|---|---|
| committer | Padma, Santhosh Kumar <skpadma@codeaurora.org> | 2017-04-05 14:39:06 +0530 |
| commit | 62d37754fe54b8d7d4fb127ad4958ff9bb00f466 (patch) | |
| tree | c83327d7766b76e9d6625a626f3c9121c7c38048 | |
| parent | b7bc4efed6409119d1cc5a8e4dcba0c4edf877e4 (diff) | |
qcacld-2.0: Avoid switch channel during preauth
prima to qcacld-2.0 propagation
Currently data tx is suspended and later checked for preauth
in limProcessChannelSwitchTimeout. This can result in a condition
that data tx to be always in suspend case if roaming triggers at
the same time.
Fix is to add a check for preauth during channel switch.
Change-Id: I0ac3d63a5db000beed7de34b13e5926c7dc3ce48
CRs-Fixed: 2017768
| -rw-r--r-- | CORE/MAC/src/pe/lim/limProcessActionFrame.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/CORE/MAC/src/pe/lim/limProcessActionFrame.c b/CORE/MAC/src/pe/lim/limProcessActionFrame.c index 55d019a438f0..d0b75b5f8083 100644 --- a/CORE/MAC/src/pe/lim/limProcessActionFrame.c +++ b/CORE/MAC/src/pe/lim/limProcessActionFrame.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2014, 2016 The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2014, 2016-2017 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -101,6 +101,13 @@ void limStopTxAndSwitchChannel(tpAniSirGlobal pMac, tANI_U8 sessionId) return; } + if(psessionEntry->ftPEContext.pFTPreAuthReq) + { + limLog(pMac, LOGE, + FL("Avoid Switch Channel req during pre auth")); + return; + } + /* * Sme Session is passed in limSendSmePreChannelSwitchInd * so that it can be passed till sme to request full power for |
