mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
qcacld-3.0: Restrict the force SCC logic for STA+SAP only
Restrict the force SCC logic for STA+SAP only, driver shouldn't use the force scc logic for STA+P2P GO. Change-Id: I3e62256bc1d8fd35667e6413219077ddc30f0732 CRs-Fixed: 2243537
This commit is contained in:
parent
ee30192439
commit
6610ff711f
1 changed files with 4 additions and 2 deletions
|
|
@ -923,8 +923,10 @@ QDF_STATUS sap_goto_channel_sel(struct sap_context *sap_context,
|
|||
|
||||
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))) {
|
||||
((sap_context->cc_switch_mode ==
|
||||
QDF_MCC_TO_SCC_SWITCH_FORCE_PREFERRED_WITHOUT_DISCONNECTION) &&
|
||||
(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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue