From 8c199ecfc522ae3520b9a5e6bbf0f631de0f6f28 Mon Sep 17 00:00:00 2001 From: Edayilliam Jayadev Date: Tue, 5 Jan 2021 12:53:05 +0530 Subject: [PATCH] qcacmn: Fix compilation error when Spectral is disabled Fix the compilation error which occurs when Spectral feature is disabled. CRs-Fixed: 2847001 Change-Id: I133aff14cc069864ca5b4ce3bc9c5a225c2b0c05 --- spectral/dispatcher/inc/wlan_spectral_utils_api.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spectral/dispatcher/inc/wlan_spectral_utils_api.h b/spectral/dispatcher/inc/wlan_spectral_utils_api.h index ab213bf7ac..969eb0955d 100644 --- a/spectral/dispatcher/inc/wlan_spectral_utils_api.h +++ b/spectral/dispatcher/inc/wlan_spectral_utils_api.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2020 The Linux Foundation. All rights reserved. + * Copyright (c) 2017-2021 The Linux Foundation. All rights reserved. * * * Permission to use, copy, modify, and/or distribute this software for @@ -19,7 +19,7 @@ #ifndef _WLAN_SPECTRAL_UTILS_API_H_ #define _WLAN_SPECTRAL_UTILS_API_H_ - +#ifdef WLAN_CONV_SPECTRAL_ENABLE #include #include @@ -325,4 +325,5 @@ wlan_spectral_pdev_get_lmac_if_txops(struct wlan_objmgr_pdev *pdev); bool spectral_dbr_event_handler(struct wlan_objmgr_pdev *pdev, struct direct_buf_rx_data *payload); #endif +#endif /* WLAN_CONV_SPECTRAL_ENABLE */ #endif /* _WLAN_SPECTRAL_UTILS_API_H_*/