ath5k: Use capabilities information for the number of TX queues
commit22d8d9f81b8b054df2f7f82daffcb71608f411e4
authorBruno Randolf <br1@einfach.org>
Tue, 7 Dec 2010 02:08:12 +0000 (7 11:08 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 7 Dec 2010 22:07:54 +0000 (7 17:07 -0500)
tree445ee23a04aa68cbd3b5b599637ebb39d6bf8a32
parentd7fd1b50a51be3fe6554fbab8953fa8a3ff4009b
ath5k: Use capabilities information for the number of TX queues

One thing I missed in my WME series: Older hardware does not have enough
hardware queues to support WME. In this case we just set up one data queue. Use
the capability information to decide how many queues to set up.

Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/ath5k/qcu.c