From 82d1955e78ccc5db15aa16769577dfa25f68caec Mon Sep 17 00:00:00 2001 From: Abhishek Singh Date: Thu, 9 Mar 2017 15:29:31 +0530 Subject: qcacld-3.0: Fix PMF SAP not sending SA query for duplicate req In case STA is in connected state, and the PMF SAP receive Assoc request from the STA, the assoc request is silently dropped. Instead the SAP should send assoc resp with comeback time and start SA query. Fix it by not dropping the duplicate assoc request frame for PMF capable STA. Change-Id: I812fb40541c93e7cac470b9154217844eac8a86d CRs-Fixed: 2017250 --- core/mac/src/pe/lim/lim_process_assoc_req_frame.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 1b5e0be3dd51..46521cc604c3 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 @@ -1803,6 +1803,7 @@ void lim_process_assoc_req_frame(tpAniSirGlobal mac_ctx, uint8_t *rx_pkt_info, MAC_ADDRESS_STR), session->peSessionId, sub_type, GET_LIM_SYSTEM_ROLE(session), MAC_ADDR_ARRAY(hdr->sa)); + return; } else if (!sta_ds->rmfEnabled) { /* * Do this only for non PMF case. @@ -1819,8 +1820,8 @@ void lim_process_assoc_req_frame(tpAniSirGlobal mac_ctx, uint8_t *rx_pkt_info, session->peSessionId, sub_type, session->limSystemRole, MAC_ADDR_ARRAY(hdr->sa)); + return; } - return; } dup_entry = lim_check_sta_in_pe_entries(mac_ctx, hdr, -- cgit v1.2.3