From 605b536d1001b8029152650e9c11f7de5b107f4d Mon Sep 17 00:00:00 2001 From: "Masti, Narayanraddi" Date: Mon, 2 Nov 2015 11:42:28 +0530 Subject: [PATCH] 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 --- core/mac/src/pe/lim/lim_process_assoc_req_frame.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/mac/src/pe/lim/lim_process_assoc_req_frame.c b/core/mac/src/pe/lim/lim_process_assoc_req_frame.c index 8e23a4e9d2..cda12aa0ff 100644 --- a/core/mac/src/pe/lim/lim_process_assoc_req_frame.c +++ b/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. */