Browse Source

qcacmn: Fix regulatory compilation issue

Add empty definition for function in the case where the
6G feature is disabled. This fixes a compilation issue.

Change-Id: Idef12549cdfa9b3cb75b06fe04888e7c50356042
CRs-Fixed: 3162125
Lincoln Tran 3 năm trước cách đây
mục cha
commit
15fa2d30d7
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      umac/regulatory/core/src/reg_build_chan_list.c

+ 5 - 0
umac/regulatory/core/src/reg_build_chan_list.c

@@ -2357,6 +2357,11 @@ reg_compute_super_chan_list(struct wlan_regulatory_pdev_priv_obj *pdev_priv_obj)
 		reg_update_super_chan_entry(pdev_priv_obj, i);
 }
 #else /* CONFIG_BAND_6GHZ */
+static void reg_init_pdev_super_chan_list(
+			struct wlan_regulatory_pdev_priv_obj *pdev_priv_obj)
+{
+}
+
 static inline void
 reg_compute_super_chan_list(struct wlan_regulatory_pdev_priv_obj *pdev_priv_obj)
 {