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
Tento commit je obsažen v:
Hariharan Basuthkar
2020-11-12 19:00:02 +05:30
odevzdal snandini
rodič 904ad769a0
revize fb1b1fe407

Zobrazit soubor

@@ -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,