diff options
| author | Gao Wu <wugao@qti.qualcomm.com> | 2016-05-16 14:36:56 +0800 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2016-05-20 17:28:56 +0530 |
| commit | 443dcd682296c3615e27beb6e37ca31d9f625840 (patch) | |
| tree | ec236e5486a7849a381ed0f66826cb2af909ba1a | |
| parent | ec4d358371330c749b255e0d966602aad20d00dd (diff) | |
qcacld-2.0: Process disassociate with invalid reason code
AP mode will disconnect to STA when receive disassociate with invalid
reason code, and STA mode will disconnect to AP when receive deauth
with invalid reason code, but won't process disassociate with invalid
reason code in STA mode. Update code so STA will disconnect from AP
when it receives a disassociate with an invalid reason code.
Change-Id: Icebc46062b1ea4b7f5affa171f760123dbb9fcb7
CRs-Fixed: 1015244
| -rw-r--r-- | CORE/MAC/src/pe/lim/limProcessDisassocFrame.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CORE/MAC/src/pe/lim/limProcessDisassocFrame.c b/CORE/MAC/src/pe/lim/limProcessDisassocFrame.c index 4e89e3de5ce7..d0fbfc9db049 100644 --- a/CORE/MAC/src/pe/lim/limProcessDisassocFrame.c +++ b/CORE/MAC/src/pe/lim/limProcessDisassocFrame.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011-2014 The Linux Foundation. All rights reserved. + * Copyright (c) 2011-2016 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -249,6 +249,7 @@ limProcessDisassocFrame(tpAniSirGlobal pMac, tANI_U8 *pRxPacketInfo, tpPESession case eSIR_MAC_RSN_IE_MISMATCH_REASON: case eSIR_MAC_1X_AUTH_FAILURE_REASON: case eSIR_MAC_PREV_AUTH_NOT_VALID_REASON: + case eSIR_MAC_PEER_REJECT_MECHANISIM_REASON: // Valid reasonCode in received Disassociation frame break; @@ -272,7 +273,7 @@ limProcessDisassocFrame(tpAniSirGlobal pMac, tANI_U8 *pRxPacketInfo, tpPESession FL("received Disassoc frame with invalid reasonCode " "%d from "MAC_ADDRESS_STR), reasonCode, MAC_ADDR_ARRAY(pHdr->sa));) - return; + break; } } else |
