summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2017-04-12 21:59:56 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-04-12 21:59:56 -0700
commit08290584a807fad4e78c6acff954b78cd3d88932 (patch)
treefe10bc18bf7e9902b813c1e18bb9081d5c8e4804
parent3dd885b868d8c5177c3ce6e968b661c794dc87ec (diff)
parent62d37754fe54b8d7d4fb127ad4958ff9bb00f466 (diff)
Merge "qcacld-2.0: Avoid switch channel during preauth" into wlan-cld2.driver.lnx.1.0-dev
-rw-r--r--CORE/MAC/src/pe/lim/limProcessActionFrame.c9
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