Browse Source

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
Jianmin Zhu 4 years ago
parent
commit
d3f49cbc4b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      components/cmn_services/policy_mgr/src/wlan_policy_mgr_action.c

+ 2 - 2
components/cmn_services/policy_mgr/src/wlan_policy_mgr_action.c

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