Parcourir la source

qcacld-3.0: delete the pre auth node if any

The issue happens in dual sap case, one sap receives peer's auth req and
creates preauth node for the peer, then adds to the list
mac->lim.pLimPreAuthList. Then Another sap (re)starts, it invokes
lim_init_pre_auth_list to set mac->lim.pLimPreAuthList none. In some cases,
the preauth node added by first sap will be "lost" and causes max pre-auth
nodes reached.

Change-Id: I9f5e99095900472a7c77c6b3273eda3c91dded00
CRs-fixed: 2820407
Paul Zhang il y a 4 ans
Parent
commit
195f4a89d4
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c

+ 2 - 1
core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c

@@ -2016,7 +2016,8 @@ static void lim_process_ap_mlm_add_bss_rsp(struct mac_context *mac,
 		pe_session->limSystemRole = eLIM_AP_ROLE;
 
 		sch_edca_profile_update(mac, pe_session);
-		lim_init_pre_auth_list(mac);
+		/* For dual AP case, delete pre auth node if any */
+		lim_delete_pre_auth_list(mac);
 		/* Check the SAP security configuration.If configured to
 		 * WEP then max clients supported is 16
 		 */