rt2x00: Include ATIM queue support in rt2x00queue_get_tx_queue.
authorGertjan van Wingerde <gwingerde@gmail.com>
Thu, 3 Mar 2011 18:46:29 +0000 (19:46 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 4 Mar 2011 19:06:49 +0000 (14:06 -0500)
commit61c6e4893f3070b6473ca4ec3176c7471d44278b
tree51df84f8d3993a2a40eadfd5df38850f006311f9
parente74df4a7562da56a7e4dbf41ff167b2f44e84a50
rt2x00: Include ATIM queue support in rt2x00queue_get_tx_queue.

The ATIM queue is considered to be a TX queue by the drivers that support
the queue. Therefore include support for the ATIM queue to the
rt2x00queue_get_tx_queue function so that the drivers that support the ATIM
queue can also use that function.

Add the support in such a way that drivers that do not support the ATIM
queue are not penalized in their efficiency.

Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2400pci.c
drivers/net/wireless/rt2x00/rt2500pci.c
drivers/net/wireless/rt2x00/rt2x00.h
drivers/net/wireless/rt2x00/rt2x00mac.c