Răsfoiți Sursa

qcacld-3.0: Remove unused mcc to scc switch enums

Currently the driver accepts the values of 1,2
for MCC to SCC switch , which does not take effect
as they are not used in the sap switch channel,
thus the same are of no use.

Fix is to cleanup these as they are of no use, and
do not give the desired output too.

Change-Id: I604d83aa59735362828266584220016aac124b1a
CRs-Fixed: 2404563
gaurank kathpalia 6 ani în urmă
părinte
comite
f880346d29
1 a modificat fișierele cu 1 adăugiri și 2 ștergeri
  1. 1 2
      core/sme/src/csr/csr_util.c

+ 1 - 2
core/sme/src/csr/csr_util.c

@@ -1081,8 +1081,7 @@ uint16_t csr_check_concurrent_channel_overlap(struct mac_context *mac_ctx,
 			(intf_hfreq > sap_lfreq && intf_hfreq < sap_hfreq))))
 			intf_ch = 0;
 	} else if (intf_ch && sap_ch != intf_ch &&
-		((cc_switch_mode == QDF_MCC_TO_SCC_SWITCH_FORCE) ||
-		 policy_mgr_is_force_scc(mac_ctx->psoc))) {
+		  (policy_mgr_is_force_scc(mac_ctx->psoc))) {
 		if (!((intf_ch <= 14 && sap_ch <= 14) ||
 			(intf_ch > 14 && sap_ch > 14))) {
 			if (policy_mgr_is_dbs_enable(mac_ctx->psoc) ||