rt2x00: Move TX/RX work into dedicated workqueue
authorIvo van Doorn <IvDoorn@gmail.com>
Sun, 30 Jan 2011 12:24:05 +0000 (13:24 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 31 Jan 2011 20:06:25 +0000 (15:06 -0500)
commit0439f5367c8d8bb2ebaca8d7329f51f3148b2fb2
treedee1b60792da49cd903266ec8daf90516c604c49
parente1f4e808bb7a884d6563553c2c94cbdd901a16c7
rt2x00: Move TX/RX work into dedicated workqueue

The TX/RX work structures must be able to run independently
of other workqueues. This is because mac80211 might use
the flush() callback function from various context, which depends
on the TX/RX work to complete while the main thread is blocked
(until the the TX queues are empty).

This should reduce the number of  'Queue %d failed to flush' warnings.

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