Browse Source

qcacld-3.0: Fix the missing propagation in MCC to SCC switch scenarios

Fix the missing propagation while sending channel switch request
instead of doing SAP restart. A couple of lines of the change
I79e7317219503de0a9957940f3cf7a4e91c7a521 that are missing have been
restored.

Change-Id: I7f881d4f6793ec8c85e6f4ab41b90fb77d16f828
CRs-Fixed: 1010524
Manishekar Chandrasekaran 9 years ago
parent
commit
f21b3b64fd
1 changed files with 3 additions and 1 deletions
  1. 3 1
      core/sme/src/csr/csr_util.c

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

@@ -788,7 +788,9 @@ uint16_t csr_check_concurrent_channel_overlap(tpAniSirGlobal 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) {
+		((cc_switch_mode == QDF_MCC_TO_SCC_SWITCH_FORCE) ||
+		(cc_switch_mode ==
+			QDF_MCC_TO_SCC_SWITCH_FORCE_WITHOUT_DISCONNECTION))) {
 		if (!((intf_ch < 14 && sap_ch < 14) ||
 			(intf_ch > 14 && sap_ch > 14)))
 			intf_ch = 0;