summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-01-24 21:29:25 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-01-28 15:42:00 -0500
commit5bec3e5ade813ee4bdbab03af1bb6f85859272ea (patch)
tree510d7bfd529dcee596a8ce6df56c35063e5f0557 /drivers/net/wireless/ath/ath5k
parent9ac58615d93c8a28b1c649a90a5e2ede4dfd368a (diff)
downloadblackbird-op-linux-5bec3e5ade813ee4bdbab03af1bb6f85859272ea.tar.gz
blackbird-op-linux-5bec3e5ade813ee4bdbab03af1bb6f85859272ea.zip
ath9k: fix tx queue index confusion in debugfs code
Various places printing tx queue information used various different ways to get a tx queue index for printing statistics. Most of these ways were wrong. ATH_TXQ_AC_* cannot be used as an index for sc->tx.txq, because it is only used internally for queue assignment. One place used WME_AC_* as a queue index for sc->debug.stats.txstats, however this array uses the ath9k_hw queue number as well. Fix all of this by always using the ath9k_hw queue number as an index, and always looking it up by going through sc->tx.txq_map. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Cc: Ben Greear <greearb@candelatech.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud