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
This commit is contained in:
Zhiwei Yang
2022-12-05 11:43:06 +08:00
committed by Madan Koyyalamudi
parent 3a5d9d2fa9
commit 977a545222

View File

@@ -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
/**