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
This commit is contained in:
Will Huang
2023-04-28 13:38:50 +08:00
committed by Madan Koyyalamudi
parent 25e0531edd
commit 638086f05d

View File

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