summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSujith Manoharan2012-12-20 04:08:00 +0100
committerJohn W. Linville2013-01-02 20:38:23 +0100
commit12e9432707dad5a09d8c51857b275c62bb6f91c8 (patch)
treecb00c1c24523448bbe90527cd6e655aeba3a25a1
parentssb: SSB_DRIVER_GPIO should depend on GPIOLIB instead of selecting it (diff)
downloadkernel-qcow2-linux-12e9432707dad5a09d8c51857b275c62bb6f91c8.tar.gz
kernel-qcow2-linux-12e9432707dad5a09d8c51857b275c62bb6f91c8.tar.xz
kernel-qcow2-linux-12e9432707dad5a09d8c51857b275c62bb6f91c8.zip
ath9k: Fix compilation breakage
Since ath9k makes use of mac80211's debugfs hooks to maintain station statistics, make ATH9K_DEBUGFS select MAC80211_DEBUGFS. This fixes the issue reported by Fengguang Wu: drivers/net/wireless/ath/ath9k/debug.c: In function 'ath9k_sta_add_debugfs': drivers/net/wireless/ath/ath9k/debug.c:1589:4: error: 'struct ath_node' has no member named 'node_stat' drivers/net/wireless/ath/ath9k/debug.c: In function 'ath9k_sta_remove_debugfs': drivers/net/wireless/ath/ath9k/debug.c:1599:19: error: 'struct ath_node' has no member named 'node_stat' Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/ath/ath9k/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/Kconfig b/drivers/net/wireless/ath/ath9k/Kconfig
index 5fc15bf8be09..581913ee6ef1 100644
--- a/drivers/net/wireless/ath/ath9k/Kconfig
+++ b/drivers/net/wireless/ath/ath9k/Kconfig
@@ -56,7 +56,8 @@ config ATH9K_AHB
config ATH9K_DEBUGFS
bool "Atheros ath9k debugging"
- depends on ATH9K && DEBUG_FS
+ depends on ATH9K
+ select MAC80211_DEBUGFS
---help---
Say Y, if you need access to ath9k's statistics for
interrupts, rate control, etc.