From 977a5452223ac4fa5083c41d9005676e40a80b31 Mon Sep 17 00:00:00 2001 From: Zhiwei Yang Date: Mon, 5 Dec 2022 11:43:06 +0800 Subject: [PATCH] qcacld-3.0: Fix compile error when WLAN_FEATURE_11BE_MLO disable Fix implicit declaration compile error when enable WLAN_FEATURE_11BE and disable WLAN_FEATURE_11BE_MLO. Change-Id: I688589bef74eaed0baf2a865268cc3ba5cd88873 CRs-Fixed: 3352992 --- .../mlme/dispatcher/inc/wlan_mlme_api.h | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/components/mlme/dispatcher/inc/wlan_mlme_api.h b/components/mlme/dispatcher/inc/wlan_mlme_api.h index 8e5f865953..fb5fec2069 100644 --- a/components/mlme/dispatcher/inc/wlan_mlme_api.h +++ b/components/mlme/dispatcher/inc/wlan_mlme_api.h @@ -3778,6 +3778,27 @@ uint8_t wlan_mlme_get_sta_mlo_simultaneous_links(struct wlan_objmgr_psoc *psoc); */ QDF_STATUS wlan_mlme_set_sta_mlo_conn_band_bmp(struct wlan_objmgr_psoc *psoc, uint8_t value); +#else +static inline QDF_STATUS +wlan_mlme_set_sta_mlo_conn_max_num(struct wlan_objmgr_psoc *psoc, + uint8_t value) +{ + return QDF_STATUS_SUCCESS; +} + +static inline QDF_STATUS +wlan_mlme_set_sta_mlo_simultaneous_links(struct wlan_objmgr_psoc *psoc, + uint8_t value) +{ + return QDF_STATUS_SUCCESS; +} + +static inline QDF_STATUS +wlan_mlme_set_sta_mlo_conn_band_bmp(struct wlan_objmgr_psoc *psoc, + uint8_t value) +{ + return QDF_STATUS_SUCCESS; +} #endif /**