]> git.baikalelectronics.ru Git - kernel.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)
commit260fb74acdb59036669040a2953a7b2ff7539492
tree09543a522d4285833278289c14eca7facec50d6c
parent685cfca250f98feb93e3c5b64b3ba890f4aa7a5d
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