]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: fix misplaced debug code
authorFelix Fietkau <nbd@openwrt.org>
Mon, 24 Jan 2011 18:11:54 +0000 (19:11 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 27 Jan 2011 21:03:59 +0000 (16:03 -0500)
commit9b9c2b435b51e52ea69e1da508ff5273d346c3ca
treed494802743b6b20846a8fb05c464030d41763d27
parent4ae49eb4a1bd61e6658bd61fa8816a8990f0b37b
ath9k: fix misplaced debug code

The commit 'ath9k: Add more information to debugfs xmit file.' added more
debug counters to ath9k and also added some lines of code to ath9k_hw.

Since ath9k_hw is also used by ath9k_htc, its code must not depend on ath9k
data structures. In this case it was not fatal, but it's still wrong, so
the code needs to be moved back to ath9k.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Cc: Ben Greear <greearb@candelatech.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/mac.c
drivers/net/wireless/ath/ath9k/xmit.c