qcacld-3.0: Fix compiling issue when disable CONFIG_WLAN_DEBUGFS

When CONFIG_WLAN_DEBUGFS is disabled, source files depending on debugfs
will not be compiled.

CRs-Fixed: 2589891
Change-Id: I43496fe1fffc83c26d810b2a06b8c0f45edfc1c8
This commit is contained in:
Paul Zhang 2019-12-27 14:06:41 +08:00 committed by nshrivas
parent d3d8fe61d8
commit e4b382eb03

View File

@ -466,8 +466,14 @@ ifeq ($(CONFIG_DEBUG_FS), y)
CONFIG_WLAN_DEBUGFS := y
CONFIG_WLAN_POWER_DEBUGFS := y
endif
ifeq ($(CONFIG_WLAN_DEBUGFS), y)
CONFIG_WLAN_MWS_INFO_DEBUGFS := y
CONFIG_WLAN_FEATURE_MIB_STATS := y
else
CONFIG_WLAN_MWS_INFO_DEBUGFS := n
CONFIG_WLAN_FEATURE_MIB_STATS := n
endif
# Feature flags which are not (currently) configurable via Kconfig
@ -817,7 +823,6 @@ CONFIG_FEATURE_WLAN_LPHB := y
CONFIG_QCA_SUPPORT_TX_THROTTLE := y
CONFIG_WMI_INTERFACE_EVENT_LOGGING := y
CONFIG_WLAN_FEATURE_LINK_LAYER_STATS := y
CONFIG_WLAN_FEATURE_MIB_STATS := y
CONFIG_FEATURE_WLAN_EXTSCAN := n
CONFIG_WMI_BCN_OFFLOAD := y
CONFIG_160MHZ_SUPPORT := y