rt2x00: do not check for txstatus timeout every time on tasklet
Do not check for tx status timeout everytime we perform txstatus tasklet. Perform check once per half a second. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:

committed by
Kalle Valo

parent
0b0d556e0e
commit
5022efb50f
@@ -197,7 +197,8 @@ void rt2800mmio_txstatus_tasklet(unsigned long data)
|
||||
|
||||
rt2800_txdone(rt2x00dev);
|
||||
|
||||
rt2800_txdone_nostatus(rt2x00dev);
|
||||
if (rt2800_txstatus_timeout(rt2x00dev))
|
||||
rt2800_txdone_nostatus(rt2x00dev);
|
||||
|
||||
if (test_bit(DEVICE_STATE_ENABLED_RADIO, &rt2x00dev->flags))
|
||||
rt2800mmio_enable_interrupt(rt2x00dev,
|
||||
|
Reference in New Issue
Block a user