qcacld-3.0: 2nd SAP CSA failed when 5G disabled

Reproduce steps:
 1. SAP+SAP SCC on channel 36
 2. Set band to disable 5G band
Observed Results:
 Only 1 SAP switched to 2G channel 6, another keeps in channel
 36.
 When wlan_hdd_get_channel_for_sap_restart for 1st SAP return
 success, will break from loop, so 2nd SAP won't CSA at all.
Expected Results:
 Both SAP need switch to 2G by CSA.

Change-Id: I67807fb77bfc5a33011576d577b734b038637075
CRs-Fixed: 2718664
Šī revīzija ir iekļauta:
Jianmin Zhu
2020-06-25 15:45:30 +08:00
revīziju iesūtīja nshrivas
vecāks 14aa30650e
revīzija d3f49cbc4b

Parādīt failu

@@ -1854,9 +1854,9 @@ static void __policy_mgr_check_sta_ap_concurrent_ch_intf(void *data)
wlan_hdd_get_channel_for_sap_restart
(psoc, vdev_id[i], &ch_freq);
if (status == QDF_STATUS_SUCCESS) {
policy_mgr_debug("SAP restarts due to MCC->SCC switch, old ch freq :%d new ch freq: %d",
policy_mgr_debug("SAP vdev id %d restarts due to MCC->SCC switch, old ch freq :%d new ch freq: %d",
vdev_id[i],
op_ch_freq_list[i], ch_freq);
break;
}
}