Эх сурвалжийг харах

qcacmn: Fix compilation error when CONFIG_BAND_6GHZ is disabled

Add a static inline definition for wlan_reg_is_range_overlap_6g
when CONFIG_BAND_6GHZ is disabled, to fix the compilation error, that
is seen when CONFIG_BAND_6GHZ is disabled.

Change-Id: I26cf77c029d7d27887c242a1c7c300219c125256
CRs-Fixed: 2817943
Hariharan Basuthkar 4 жил өмнө
parent
commit
fb1b1fe407

+ 6 - 0
umac/regulatory/dispatcher/inc/wlan_reg_services_api.h

@@ -305,6 +305,12 @@ wlan_reg_is_6g_freq_indoor(struct wlan_objmgr_pdev *pdev, qdf_freq_t freq)
 	return false;
 }
 
+static inline bool wlan_reg_is_range_overlap_6g(qdf_freq_t low_freq,
+						qdf_freq_t high_freq)
+{
+	return false;
+}
+
 static inline QDF_STATUS
 wlan_reg_get_max_txpower_for_6g_tpe(struct wlan_objmgr_pdev *pdev,
 				    qdf_freq_t freq, uint8_t bw,