Bläddra i källkod

qcacld-3.0: Add check for 6 GHz in case of SCC

Check for 6 GHz channel for SCC was not there due to which,
6 GHz + 5 GHz(DFS) MCC was happening even if we are forcing SCC.

Change-Id: Iac02b1990ffa91a5b0688d6976bc38cbbd10acfb
CRs-Fixed: 3301115
Anuj Khera 2 år sedan
förälder
incheckning
0b1f2e4e97
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      components/cmn_services/policy_mgr/src/wlan_policy_mgr_core.c

+ 1 - 1
components/cmn_services/policy_mgr/src/wlan_policy_mgr_core.c

@@ -3806,7 +3806,7 @@ bool policy_mgr_disallow_mcc(struct wlan_objmgr_psoc *psoc,
 				match = true;
 				break;
 			}
-		} else if (WLAN_REG_IS_5GHZ_CH_FREQ
+		} else if (!WLAN_REG_IS_24GHZ_CH_FREQ
 			(pm_conc_connection_list[index].freq)) {
 			if (pm_conc_connection_list[index].freq != ch_freq &&
 			    !policy_mgr_are_sbs_chan(psoc, ch_freq,