Explorar el Código

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 hace 8 años
padre
commit
a0b4dc18db
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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,