summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhishek Singh <absingh@codeaurora.org>2017-03-09 15:29:31 +0530
committerSandeep Puligilla <spuligil@codeaurora.org>2017-03-10 18:30:49 -0800
commit82d1955e78ccc5db15aa16769577dfa25f68caec (patch)
treeb036890bfc7a22fbd974501b325a73dbdc72654f
parent90781b4a57e1e127f2b5964f54ba110b3f2a66ca (diff)
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
-rw-r--r--core/mac/src/pe/lim/lim_process_assoc_req_frame.c3
1 files changed, 2 insertions, 1 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 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,