ath9k: Fix compilation breakage
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Thu, 20 Dec 2012 03:08:00 +0000 (08:38 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 2 Jan 2013 19:38:23 +0000 (14:38 -0500)
commit12e9432707dad5a09d8c51857b275c62bb6f91c8
treecb00c1c24523448bbe90527cd6e655aeba3a25a1
parent3194f2f04547c3e0da488f0478788fbeebd9a914
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>
drivers/net/wireless/ath/ath9k/Kconfig