diff --git a/umac/dfs/core/src/dfs_filter_init.h b/umac/dfs/core/src/dfs_filter_init.h index 1bc74b2b74e2..10ac38897570 100644 --- a/umac/dfs/core/src/dfs_filter_init.h +++ b/umac/dfs/core/src/dfs_filter_init.h @@ -88,6 +88,8 @@ static inline void dfs_main_timer_detach(struct wlan_dfs *dfs) } #endif +#ifdef CONFIG_WIN +#if DA_SUPPORT #if defined(WLAN_DFS_DIRECT_ATTACH) void dfs_get_da_radars(struct wlan_dfs *dfs); #else @@ -95,5 +97,17 @@ static inline void dfs_get_da_radars(struct wlan_dfs *dfs) { } #endif +#else +#define dfs_get_da_radars(dfs) /**/ +#endif /* _DA_SUPPORT_ */ +#else +#if defined(WLAN_DFS_DIRECT_ATTACH) +void dfs_get_da_radars(struct wlan_dfs *dfs); +#else +static inline void dfs_get_da_radars(struct wlan_dfs *dfs) +{ +} +#endif +#endif /* _CONFIG_WIN_ */ #endif /* _DFS_FILTER_INIT_H_ */