Pārlūkot izejas kodu

qcacmn: Allow scan on same mac channel where LL_LT_SAP present

Currently, scan on same mac channel is not allow where
LL_LT_SAP is present.

But as part of this change, allow scan on same mac channel
where LL_LT_SAP is present.

Change-Id: I0c781caa70bf5c95c0639218dd08a409ebeefbfc
CRs-Fixed: 3636119
Jyoti Kumari 1 gadu atpakaļ
vecāks
revīzija
a50ca46487
1 mainītis faili ar 8 papildinājumiem un 0 dzēšanām
  1. 8 0
      umac/scan/dispatcher/src/wlan_scan_api.c

+ 8 - 0
umac/scan/dispatcher/src/wlan_scan_api.c

@@ -835,7 +835,15 @@ void wlan_scan_update_low_latency_profile_chnlist(
 		return;
 	}
 
+/*
+ * Get ll_sap freq api will be cleaned up once macro is enabled
+ */
+#ifndef WLAN_FEATURE_LL_LT_SAP
 	ll_sap_freq = policy_mgr_get_ll_sap_freq(psoc);
+#else
+	ll_sap_freq = policy_mgr_get_ll_ht_sap_freq(psoc);
+#endif
+
 	if (!ll_sap_freq)
 		return;