qcacld-3.0: Fix SAP to not send Assoc Rsp for duplicate Assoc Req

qcacld-2.0 to qcacld-3.0 propagation

Fix soft AP to not send Assoc response for Assoc req which is
unprotected and initiated by an injector rather than a testbed
station.
If STAUT sends duplicate Assoc request, Assoc response should
be sent only in case of non-PMF connection.

Change-Id: I6fb4c139af333c937e767cb111df4d1d69bddbd9
CRs-Fixed: 902969
This commit is contained in:
Masti, Narayanraddi
2015-11-02 11:42:28 +05:30
committed by Satish Singh
parent ee029ad052
commit 605b536d10

View File

@@ -288,8 +288,9 @@ lim_process_assoc_req_frame(tpAniSirGlobal pMac, uint8_t *pRxPacketInfo,
MAC_ADDRESS_STR), psessionEntry->peSessionId, MAC_ADDRESS_STR), psessionEntry->peSessionId,
subType, GET_LIM_SYSTEM_ROLE(psessionEntry), subType, GET_LIM_SYSTEM_ROLE(psessionEntry),
MAC_ADDR_ARRAY(pHdr->sa)); MAC_ADDR_ARRAY(pHdr->sa));
} else { } else if (!pStaDs->rmfEnabled) {
/* /* Do this only for non PMF case.
*
* STA might have missed the assoc response, * STA might have missed the assoc response,
* so it is sending assoc request frame again. * so it is sending assoc request frame again.
*/ */