Forráskód Böngészése

qcacmn: Fix possible compile error if include service_ready_param.h

enum reg_afc_dev_deploy_type afc_dev_type is defined as variable in
service_ready_param.h if AFC enable, reg_afc_dev_deploy_type defined
in wlan_reg_afc.h.

Include this head file if AFC enable so that don't have to include it
everywhere include service_ready_param.h.

Change-Id: I4bab90dc051c8afb984d7a486c97743b5c277589
CRs-Fixed: 3482426
Will Huang 2 éve
szülő
commit
638086f05d
1 módosított fájl, 3 hozzáadás és 1 törlés
  1. 3 1
      target_if/init_deinit/inc/service_ready_param.h

+ 3 - 1
target_if/init_deinit/inc/service_ready_param.h

@@ -31,7 +31,9 @@
 #ifdef WLAN_FEATURE_11BE_MLO
 #include "wlan_mlo_mgr_public_structs.h"
 #endif
-
+#ifdef CONFIG_AFC_SUPPORT
+#include "wlan_reg_afc.h"
+#endif
 
 /**
  * struct wlan_psoc_hal_reg_capability - hal reg table in psoc