rt2x00: conf_tx() only need register access for WMM queues
authorIvo van Doorn <ivdoorn@gmail.com>
Sat, 17 Jan 2009 19:42:58 +0000 (20:42 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 21:00:46 +0000 (16:00 -0500)
commit5e790023620ee02486fd64c7e5a6115ce004495d
treeb2cf06ad1b846c191fd2cf240c7f35cd4cb5ad55
parent4e54c711b42c3cc8da8a3fdcde3407b86d67ebcc
rt2x00: conf_tx() only need register access for WMM queues

conf_tx() in rt61pci and rt73usb only have to check once
if the queue_idx indicates a non-WMM queue and break of
the function immediately if that is the case.

Only the WMM queues need to have the TX configuration written
to the registers.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt61pci.c
drivers/net/wireless/rt2x00/rt73usb.c