qcacmn: Fix compilation errors when ATH_SUPPORT_DFS is disabled
Fix compilation errors when disabling ATH_SUPPORT_DFS Change-Id: I229ae5086070badec899b5b95be3ce389a3247ba
This commit is contained in:

committad av
nshrivas

förälder
bc70137f9e
incheckning
fbd467f5a6
@@ -536,7 +536,15 @@ static inline bool utils_is_dfs_ch(struct wlan_objmgr_pdev *pdev, uint32_t chan)
|
||||
*
|
||||
* Return: True if channel dfs cfreq2, else false.
|
||||
*/
|
||||
#if defined(WLAN_DFS_FULL_OFFLOAD) && defined(QCA_DFS_NOL_OFFLOAD)
|
||||
bool utils_is_dfs_cfreq2_ch(struct wlan_objmgr_pdev *pdev);
|
||||
#else
|
||||
static inline
|
||||
bool utils_is_dfs_cfreq2_ch(struct wlan_objmgr_pdev *pdev)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* utils_dfs_reg_update_nol_ch() - set nol channel
|
||||
|
Referens i nytt ärende
Block a user