From 6fbfeca6efcf942a73fedd5401af9cd6e2bd3041 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Sat, 23 Feb 2013 12:12:39 +0000
Subject: [PATCH] mac80211: select relayfs if ath9k debugfs is enabled

SVN-Revision: 35757
---
 package/mac80211/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index 6ec80b1689..0af2c529b9 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.
-- 
2.25.1