Explorar el Código

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