rt2x00: Clean up generic procedures on descriptor writing.
authorGertjan van Wingerde <gwingerde@gmail.com>
Sun, 9 May 2010 19:24:22 +0000 (21:24 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 10 May 2010 18:56:49 +0000 (14:56 -0400)
commit6295d81552f4b58256a9f7d85ce630b862598753
treeaa7d27cd8686d51f577f70ca137e50ceab87e4fd
parent3b9f0ed78cf2eb678edd60d74a4a36f5947d003d
rt2x00: Clean up generic procedures on descriptor writing.

With a little bit of restructuring it isn't necessary to have special
cases in rt2x00queue_write_tx_descriptor for writing the descriptor
for beacons.
Simply split off the kicking of the TX queue to a separate function
with is only called for non-beacons.

Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00queue.c