mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacmn: Resolve symbol errors when DA_SUPPORT is disabled
Protect calls to DA function Change-Id: Iba79c0bf8c5ac9b31b8e568a26b553ce3a07598a
This commit is contained in:
parent
a59b5607c6
commit
f140e5cadc
1 changed files with 14 additions and 0 deletions
|
|
@ -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_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue