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 set to default y. I removed the default y to be consistent with the help text. Signed-off-by: Stefan Hellermann <ste...@the2masters.de> --- a/package/mac80211/Makefile +++ b/package/mac80211/Makefile @@ -80,11 +80,12 @@ define KernelPackage/mac80211 endef define KernelPackage/mac80211/config + select KERNEL_DEBUG_FS if PACKAGE_MAC80211_DEBUGFS + if PACKAGE_kmod-mac80211 config PACKAGE_MAC80211_DEBUGFS bool "Export mac80211 internals in DebugFS" - default y help Select this to see extensive information about the internal state of mac80211 in debugfs. _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel