From e6b80253bc10ade128cbb8a9dfc9d7418f20f223 Mon Sep 17 00:00:00 2001 From: Jianmin Zhu Date: Sun, 5 Jan 2020 23:06:51 +0800 Subject: [PATCH] qcacld-3.0: Permit 3 SAP channel switch During mdm SAP+SAP+SAP case, if 5G band is disabled for modem N79 band, need all 5G SAP switch to 2G to force scc. when 5G band is re-enabled, all 5G SAP can switch back to 5G. Change-Id: Ief7d7c85a7881885bd95c8af6be8d4e428d07041 CRs-Fixed: 2597602 --- components/cmn_services/policy_mgr/src/wlan_policy_mgr_action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/cmn_services/policy_mgr/src/wlan_policy_mgr_action.c b/components/cmn_services/policy_mgr/src/wlan_policy_mgr_action.c index f5e89692f558..bdac0e5b8940 100644 --- a/components/cmn_services/policy_mgr/src/wlan_policy_mgr_action.c +++ b/components/cmn_services/policy_mgr/src/wlan_policy_mgr_action.c @@ -1786,7 +1786,7 @@ static void __policy_mgr_check_sta_ap_concurrent_ch_intf(void *data) policy_mgr_err("SAP restart get channel callback in NULL"); goto end; } - if (cc_count < MAX_NUMBER_OF_CONC_CONNECTIONS) + if (cc_count <= MAX_NUMBER_OF_CONC_CONNECTIONS) for (i = 0; i < cc_count; i++) { status = pm_ctx->hdd_cbacks. wlan_hdd_get_channel_for_sap_restart