From: Felix Fietkau Date: Fri, 4 Jan 2013 17:41:23 +0000 (+0000) Subject: mac80211: add dependency of PACKAGE_MAC80211_DEBUGFS X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=980da0fded069e9a59fd276245206e8ab420869d mac80211: add dependency of PACKAGE_MAC80211_DEBUGFS I wanted to use some statistics from /sys/kernel/debug/ieee80211, so I enabled PACKAGE_MAC80211_DEBUGFS. But I could not use it, because CONFIG_KERNEL_DEBUG_FS was not set and it's a little bit hidden. After manually setting CONFIG_KERNEL_DEBUG_FS to y, everything was fine. This patch automatically selects CONFIG_KERNEL_DEBUG_FS if PACKAGE_MAC80211_DEBUGFS is set. Additionally, the help text says "Say N unless you know you need this.", but it's default y. This help text is copied verbatim from the kernel's Kconfig and not true for us. So remove this part of the help text Signed-off-by: Stefan Hellermann SVN-Revision: 35014 --- diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile index f57d30353c..ac60193624 100644 --- a/package/mac80211/Makefile +++ b/package/mac80211/Makefile @@ -84,13 +84,12 @@ define KernelPackage/mac80211/config config PACKAGE_MAC80211_DEBUGFS bool "Export mac80211 internals in DebugFS" + select KERNEL_DEBUG_FS default y help Select this to see extensive information about the internal state of mac80211 in debugfs. - Say N unless you know you need this. - config PACKAGE_MAC80211_MESH bool "Enable 802.11s mesh support" default y