diff options
| author | wadesong <wadesong@codeaurora.org> | 2016-10-31 20:44:29 +0800 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2016-11-07 12:26:51 +0530 |
| commit | 66049435c6efc6b28a7e774849c5e5341b2b3146 (patch) | |
| tree | 2466376eaafdfa8ae4f3fb55b6a2675cfe2ada6e | |
| parent | c6a9adb3a5445c169f2255895351eedc15b70c61 (diff) | |
qcacld-2.0: Add a missing condition of VHT cap checking
When SAP is running in 11ac only mode, it should reject the incoming
association requests if one of the following conditions is true:
1) VHT capability IE is missing
2) VHT capability IE is available, but present bit is cleared
Change-Id: Iad0e85a741d36dfd8727db668a4600ee3594f905
CRs-Fixed: 1084052
| -rw-r--r-- | CORE/MAC/src/pe/lim/limProcessAssocReqFrame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CORE/MAC/src/pe/lim/limProcessAssocReqFrame.c b/CORE/MAC/src/pe/lim/limProcessAssocReqFrame.c index 011814923840..ebbc955837c4 100644 --- a/CORE/MAC/src/pe/lim/limProcessAssocReqFrame.c +++ b/CORE/MAC/src/pe/lim/limProcessAssocReqFrame.c @@ -552,7 +552,7 @@ limProcessAssocReqFrame(tpAniSirGlobal pMac, tANI_U8 *pRxPacketInfo, if (LIM_IS_AP_ROLE(psessionEntry) && (psessionEntry->dot11mode == WNI_CFG_DOT11_MODE_11AC_ONLY) && - (vht_caps != NULL) && (!vht_caps->present)) { + ((vht_caps == NULL) || ((vht_caps != NULL) && (!vht_caps->present)))) { limSendAssocRspMgmtFrame( pMac, eSIR_MAC_CAPABILITIES_NOT_SUPPORTED_STATUS, 1, pHdr->sa, subType, 0, psessionEntry ); limLog(pMac, LOGE, FL("SOFTAP was in 11AC only mode, reject")); |
