Quellcode durchsuchen

qcacld-3.0: Block SoftAP channel switch in response to ECSA frame

qcacld-2.0 to qcacld-3.0 propagation

SoftAP is changing channel in response to ECSA frame from STA
Do not let SoftAP switch channel in response to ECSA.

Change-Id: Ie9ddbf10c13f62205fdd60c512a560b35c6610ba
CRs-Fixed: 2121117
Visweswara Tanuku vor 7 Jahren
Ursprung
Commit
d0c726b4b9
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      core/mac/src/pe/lim/lim_process_action_frame.c

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

@@ -400,7 +400,8 @@ lim_process_ext_channel_switch_action_frame(tpAniSirGlobal mac_ctx,
 		return;
 	}
 
-	if (eLIM_AP_ROLE == session_entry->limSystemRole) {
+	if ((eLIM_STA_ROLE == session_entry->limSystemRole) ||
+	    (eLIM_P2P_DEVICE_CLIENT == session_entry->limSystemRole)) {
 
 		struct sir_sme_ext_cng_chan_ind *ext_cng_chan_ind;
 		struct scheduler_msg mmh_msg = {0};