Procházet zdrojové kódy

qcacmn: Compilation fix when 11BE files are removed

Add some 11BE files inclusion under feature flag to fix
compilation error when 11BE files are removed.

Change-Id: I809c5a3e3be2b6a7db35fa420714063b730ebe1d
Kiran Venkatappa před 3 roky
rodič
revize
24d3c5dc59

+ 2 - 0
umac/mlme/vdev_mgr/core/src/vdev_mlme_sm.h

@@ -23,7 +23,9 @@
 #ifndef _VDEV_MLME_SM_H_
 #define _VDEV_MLME_SM_H_
 
+#ifdef WLAN_FEATURE_11BE_MLO
 #include <wlan_mlo_mgr_ap.h>
+#endif
 #include <wlan_dfs_utils_api.h>
 
 /**

+ 2 - 1
umac/mlo_mgr/inc/wlan_mlo_mgr_sta.h

@@ -20,10 +20,11 @@
 #ifndef _WLAN_MLO_MGR_STA_H_
 #define _WLAN_MLO_MGR_STA_H_
 
-#include <wlan_mlo_mgr_public_structs.h>
 #include <wlan_cm_ucfg_api.h>
 #include <wlan_objmgr_vdev_obj.h>
 #ifdef WLAN_FEATURE_11BE_MLO
+#include <wlan_mlo_mgr_public_structs.h>
+
 /**
  * mlo_connect - Start the connection process
  *