rt2x00: Disable txstatus tasklet by default
authorHelmut Schaa <helmut.schaa@googlemail.com>
Sun, 30 Jan 2011 12:18:13 +0000 (13:18 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 31 Jan 2011 20:06:23 +0000 (15:06 -0500)
commitc8e15a1e2c93880160f31ed2e6b02c1322f7f48d
tree2019999e956bfe9b6edd4ac1e84c855fbbd8db94
parentc5c65761839e3d85cc620cc1c85db8d4a7173f53
rt2x00: Disable txstatus tasklet by default

Enable the txstatus tasklet when interrupts are enabled and disable it
together with the interrupts. Also make the txstatus tasklet useful even
without the tx status FIFO and make use of the generic rt2x00 tasklet
initialization macro.

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