mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 09:14:18 -04:00
qcacmn: Restrict the force SCC logic for STA+SAP only
Restrict the force SCC logic for STA+SAP only unless ini is set for QDF_MCC_TO_SCC_SWITCH_FORCE_PREFERRED_WITHOUT_DISCONNECTION. Change-Id: If2c4c285b92ea5eba69679561c32875cff5f7b08 CRs-Fixed: 2261717
This commit is contained in:
parent
c352d60731
commit
1b6202d341
1 changed files with 3 additions and 1 deletions
|
|
@ -701,8 +701,10 @@ static bool policy_mgr_is_restart_sap_allowed(
|
|||
!policy_mgr_concurrent_open_sessions_running(psoc) ||
|
||||
!(((policy_mgr_get_concurrency_mode(psoc) & sta_ap_bit_mask)
|
||||
== sta_ap_bit_mask) ||
|
||||
((mcc_to_scc_switch ==
|
||||
QDF_MCC_TO_SCC_SWITCH_FORCE_PREFERRED_WITHOUT_DISCONNECTION) &&
|
||||
((policy_mgr_get_concurrency_mode(psoc) & sta_go_bit_mask)
|
||||
== sta_go_bit_mask))) {
|
||||
== sta_go_bit_mask)))) {
|
||||
policy_mgr_err("MCC switch disabled or not concurrent STA/SAP, STA/GO");
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue