]> git.karo-electronics.de Git - linux-beck.git/commit
ath9k: Fix rate control debugging
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Wed, 21 Nov 2012 12:43:14 +0000 (18:13 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 21 Nov 2012 19:16:04 +0000 (14:16 -0500)
commit4d28f771ff2ca0701999b037df38ad06e949edf6
tree09543a522d4285833278289c14eca7facec50d6c
parent1c11e10b6a64f14427be518ccc2a242b73fc3d9f
ath9k: Fix rate control debugging

Update the rate statistics only when debugfs has been enabled
in ath9k and mac80211 and move the stat() functions under proper
conditionals.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/rc.c
drivers/net/wireless/ath/ath9k/rc.h