]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Fix regression in 'xmit' debugfs file
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Fri, 7 Dec 2012 14:55:30 +0000 (20:25 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 10 Dec 2012 20:47:30 +0000 (15:47 -0500)
commit7846ac933f4fc9ee454e88b8c8ca34764e5ebbe6
tree596ca5d4a9f52244f6739691c3f24c9d257a7626
parent6f634696cfbe0a384278bb6bf1f06bef85e20247
ath9k: Fix regression in 'xmit' debugfs file

Commit "ath9k: Fix the 'xmit' debugfs file" changed the
the array size of ath_stats.txstats to IEEE80211_NUM_ACS,
which is wrong because the HW queue number is used to
update the statistics. Revert back to using ATH9K_NUM_TX_QUEUES.

Reported-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/debug.h