Browse Source

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
Zhiwei Yang 2 years ago
parent
commit
977a545222
1 changed files with 21 additions and 0 deletions
  1. 21 0
      components/mlme/dispatcher/inc/wlan_mlme_api.h

+ 21 - 0
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
 
 /**