浏览代码

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 年之前
父节点
当前提交
f880346d29
共有 1 个文件被更改,包括 1 次插入2 次删除
  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) ||