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
This commit is contained in:
Jianmin Zhu
2020-01-05 23:06:51 +08:00
committed by nshrivas
parent 27b5d6cfa7
commit e6b80253bc

View File

@@ -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