qcacld-3.0: Don't override 2nd 2G AP to DFS channel of 1st AP

If platform support dbs,  1st AP start on 5G DFS channel, 2nd
AP should be able to start on 2G on another MAC, no MCC will
happen.
If override 2nd AP from 2g channel to 5g, 2nd AP can't start.

Change-Id: Icee7a5c432e0b96d71b51685955d820b0f619c8d
CRs-Fixed: 2470807
此提交包含在:
Jianmin Zhu
2019-06-18 15:41:10 +08:00
提交者 nshrivas
父節點 14923e6271
當前提交 7f212f7e92

查看文件

@@ -1835,7 +1835,9 @@ int wlan_hdd_cfg80211_start_acs(struct hdd_adapter *adapter)
* calling DFS override
*/
if (QDF_MCC_TO_SCC_SWITCH_FORCE_PREFERRED_WITHOUT_DISCONNECTION !=
mcc_to_scc_switch) {
mcc_to_scc_switch &&
!(policy_mgr_is_hw_dbs_capable(hdd_ctx->psoc) &&
IS_24G_CH(sap_config->acs_cfg.end_ch))) {
status = wlan_hdd_sap_cfg_dfs_override(adapter);
if (status < 0)
return status;