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:
Visudha Sathurappan
2019-04-25 20:14:41 +05:30
committed by nshrivas
parent bc70137f9e
commit fbd467f5a6

View File

@@ -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. * 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); 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 * utils_dfs_reg_update_nol_ch() - set nol channel