From 04fb2cea19952dbbb660fb9a8f8fb8734903c39f Mon Sep 17 00:00:00 2001 From: Yu Ouyang Date: Wed, 11 Oct 2023 15:54:17 +0800 Subject: [PATCH] qcacld-3.0: Fix compile issue If WLAN_SUPPORT_TWT or WLAN_TWT_CONV_SUPPORTED not defined, FEATURE_SET is defined, function wlan_twt_get_feature_info() will be called by wma_set_feature_set_info(). However wlan_twt_get_feature_info() is not declaration. Change-Id: I31b1e5c6520adf4dc495356d45fc89f481c9962e CRs-Fixed: 3637229 --- components/umac/twt/dispatcher/inc/wlan_twt_cfg_ext_api.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/components/umac/twt/dispatcher/inc/wlan_twt_cfg_ext_api.h b/components/umac/twt/dispatcher/inc/wlan_twt_cfg_ext_api.h index 69c0ed5590..8a2491a61c 100644 --- a/components/umac/twt/dispatcher/inc/wlan_twt_cfg_ext_api.h +++ b/components/umac/twt/dispatcher/inc/wlan_twt_cfg_ext_api.h @@ -182,5 +182,12 @@ wlan_twt_get_bcast_responder_cfg(struct wlan_objmgr_psoc *psoc, bool *val) return QDF_STATUS_SUCCESS; } +#ifdef FEATURE_SET +static inline void +wlan_twt_get_feature_info(struct wlan_objmgr_psoc *psoc, + struct wlan_twt_features *twt_feature_set) +{ +} +#endif #endif #endif