diff options
| author | Varun Reddy Yeturu <varunreddy.yeturu@codeaurora.org> | 2017-04-12 23:04:11 -0700 |
|---|---|---|
| committer | Varun Reddy Yeturu <varunreddy.yeturu@codeaurora.org> | 2017-04-12 23:35:54 -0700 |
| commit | eba5a128edbedf3684f52f9398d917fd6c87b4b0 (patch) | |
| tree | d1dea8237cebf33041cfe17ef4041b4b6559fb21 | |
| parent | 08290584a807fad4e78c6acff954b78cd3d88932 (diff) | |
qcacld-2.0: Fix Kbuild to enable WLAN debugfs support
Currently, the CONFIG_WLAN_POWER_DEBUGFS is not enabled for
statically loaded driver. This results in missing subsystem power
stats.
The reason for that is the enabling of this macro is conditionally
done under KERNEL_BUILD=0. This commit enables the macro to be also
conditionally done under all values of KERNEL_BUILD
Change-Id: I90593315855e4dc363f00526e2e878a48748767d
CRs-Fixed: 2033107
| -rw-r--r-- | Kbuild | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -76,11 +76,6 @@ ifeq ($(KERNEL_BUILD), 0) #Flag to enable Legacy Fast Roaming3(LFR3) CONFIG_QCACLD_WLAN_LFR3 := y - #Enable Power debugfs feature only if debug_fs is enabled - ifeq ($(CONFIG_DEBUG_FS), y) - CONFIG_WLAN_POWER_DEBUGFS := y - endif - #JB kernel has PMKSA patches, hence enabling this flag CONFIG_PRIMA_WLAN_OKC := y @@ -158,6 +153,11 @@ ifeq ($(KERNEL_BUILD), 0) endif +#Enable Power debugfs feature only if debug_fs is enabled +ifeq ($(CONFIG_DEBUG_FS), y) +CONFIG_WLAN_POWER_DEBUGFS := y +endif + ifdef CPTCFG_QCA_CLD_WLAN WLAN_ROOT := $(BACKPORT_PWD)/drivers/staging/qcacld-2.0 CONFIG_QCA_CLD_WLAN=$(CPTCFG_QCA_CLD_WLAN) |
