Browse Source

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
Masti, Narayanraddi 9 years ago
parent
commit
605b536d10
1 changed files with 3 additions and 2 deletions
  1. 3 2
      core/mac/src/pe/lim/lim_process_assoc_req_frame.c

+ 3 - 2
core/mac/src/pe/lim/lim_process_assoc_req_frame.c

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