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
This commit is contained in:
Manishekar Chandrasekaran 2016-05-02 16:33:55 +05:30 • committed by Akash Patel
commit f21b3b64fd

View file

@ -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;