Browse Source

qcacld-3.0: Dont enable roaming on STA2 in STA+STA SCC

In case of STA + STA concurrency, enable roaming on
another interface only if STA + STA concurrency is in
DBS.

Add sanity for SCC concurrency also along with MCC
concurrency in cm_roam_switch_to_init.

Change-Id: I8787828b4b950c355e9bf70af58aad7779de3e9f
CRs-Fixed: 3001723
abhinav kumar 3 years ago
parent
commit
5761f0f95e

+ 2 - 1
components/umac/mlme/connection_mgr/core/src/wlan_cm_roam_offload.c

@@ -3141,7 +3141,8 @@ cm_roam_switch_to_init(struct wlan_objmgr_pdev *pdev,
 								  PM_STA_MODE,
 								  NULL);
 		if (dual_sta_roam_active && (count == 2 &&
-		    !policy_mgr_current_concurrency_is_mcc(psoc))) {
+		    !(policy_mgr_current_concurrency_is_mcc(psoc) ||
+		      policy_mgr_current_concurrency_is_scc(psoc)))) {
 			mlme_info("STA + STA concurrency is in DBS");
 			break;
 		}