]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita2c54faec63d2a2720eb237fdae3eb42240ba2a0
tree2019999e956bfe9b6edd4ac1e84c855fbbd8db94
parent90900348c4a3eb66452c3d52d725d53f889520aa
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