rt2x00: Fix beacon descriptor writing for rt61pci.
authorGertjan van Wingerde <gwingerde@gmail.com>
Tue, 11 May 2010 21:51:38 +0000 (23:51 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 12 May 2010 20:41:43 +0000 (16:41 -0400)
commit6b97cb04f2766513c57b57f8ac4b44915296230f
tree65e3c80e011b5268588a75a908c7cffca67516fc
parent878f7045d8ae24f5a9e3a8a7ee5c33d30c30a553
rt2x00: Fix beacon descriptor writing for rt61pci.

The buffer address descriptor word is not part of the TXINFO structure
needed for beacons. The current writing of that word for beacons is
therefore an out-of-bounds write.
Fix this by only writing the buffer address descriptor word for TX
queues.

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/rt61pci.c