diff options
| author | c_zding <c_zding@qti.qualcomm.com> | 2016-02-19 16:30:53 +0800 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2016-03-01 14:44:47 +0530 |
| commit | 932cb76484f87a51dffc23fea1beece1fbda815a (patch) | |
| tree | a1f135542ddd2cac4d170186448d5eaafeb3b711 | |
| parent | cdd6b0cb8b5fee44aa845820dba337d767eefb59 (diff) | |
qcacld-2.0: Stop send deauthentication frame when STA is connected
Just delete the station but not send deauthentication in "limProcessAuthFrame"
when station is connected. Fuzz test tool considers the deauthentication
response as one failure.
Change-Id: I480c677ccad2b64b193fd10815b297348b55ddb3
CRs-Fixed: 979147
| -rw-r--r-- | CORE/MAC/src/pe/lim/limProcessAuthFrame.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/CORE/MAC/src/pe/lim/limProcessAuthFrame.c b/CORE/MAC/src/pe/lim/limProcessAuthFrame.c index 594600a99776..61028eca0667 100644 --- a/CORE/MAC/src/pe/lim/limProcessAuthFrame.c +++ b/CORE/MAC/src/pe/lim/limProcessAuthFrame.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011-2014 The Linux Foundation. All rights reserved. + * Copyright (c) 2011-2014, 2016 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -618,8 +618,8 @@ limProcessAuthFrame(tpAniSirGlobal pMac, tANI_U8 *pRxPacketInfo, tpPESession pse /* pStaDS != NULL and isConnected = 1 means the STA is already * connected, But SAP received the Auth from that station. - * For non PMF connection send Deauth frame as STA will retry - * to connect back. + * For non PMF connection, just delete the STA here as it will + * retry to connect back after timeout. * * For PMF connection the AP should not tear down or otherwise * modify the state of the existing association until the @@ -637,8 +637,6 @@ limProcessAuthFrame(tpAniSirGlobal pMac, tANI_U8 *pRxPacketInfo, tpPESession pse "Send the Deauth and lim Delete Station Context" "(staId: %d, assocId: %d) "), pStaDs->staIndex, assocId); - limSendDeauthMgmtFrame(pMac, eSIR_MAC_UNSPEC_FAILURE_REASON, - (tANI_U8 *) pHdr->sa, psessionEntry, FALSE); limTriggerSTAdeletion(pMac, pStaDs, psessionEntry); return; } |
