Merge "qcacld-3.0: Force SCC for STA+P2PGO if gWlanMccToSccSwitchMode!=0" into wlan-cld3.driver.lnx.2.0-dev

This commit is contained in:
CNSS_WLAN Service 2017-10-25 16:00:28 -07:00 • committed by Gerrit - the friendly Code Review server
commit 4591cb0ade

View file

@ -1740,8 +1740,10 @@ QDF_STATUS sap_goto_channel_sel(struct sap_context *sap_context,
#endif
}
if (policy_mgr_get_concurrency_mode(mac_ctx->psoc) ==
(QDF_STA_MASK | QDF_SAP_MASK)) {
if ((policy_mgr_get_concurrency_mode(mac_ctx->psoc) ==
(QDF_STA_MASK | QDF_SAP_MASK)) ||
(policy_mgr_get_concurrency_mode(mac_ctx->psoc) ==
(QDF_STA_MASK | QDF_P2P_GO_MASK))) {
#ifdef FEATURE_WLAN_STA_AP_MODE_DFS_DISABLE
if (sap_context->channel == AUTO_CHANNEL_SELECT)
sap_context->dfs_ch_disable = true;