diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index 6ec80b16899aecd5995850c8193bf875c8e4acbc..0af2c529b94d4ba86d235c75d490424de938395e 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -85,6 +85,7 @@ define KernelPackage/mac80211/config
 	config PACKAGE_MAC80211_DEBUGFS
 		bool "Export mac80211 internals in DebugFS"
 		select KERNEL_DEBUG_FS
+		select KERNEL_RELAY if PACKAGE_kmod-ath9k-common
 		default y
 		help
 		  Select this to see extensive information about
@@ -385,7 +386,6 @@ define KernelPackage/ath/config
 
 	config PACKAGE_ATH_DEBUG
 		bool "Atheros wireless debugging"
-		select KERNEL_RELAY
 		help
 		  Say Y, if you want to debug atheros wireless drivers.
 		  Right now only ath9k makes use of this.