Переглянути джерело

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
Abhishek Singh 8 роки тому
батько
коміт
a0b4dc18db
1 змінених файлів з 2 додано та 1 видалено
  1. 2 1
      core/mac/src/pe/lim/lim_process_assoc_req_frame.c

+ 2 - 1
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,