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:
Stanislaw Gruszka
2018-09-26 12:24:55 +02:00
committed by Kalle Valo
parent 0b0d556e0e
commit 5022efb50f
4 changed files with 12 additions and 1 deletions

View File

@@ -980,6 +980,8 @@ struct rt2x00_dev {
*/
DECLARE_KFIFO_PTR(txstatus_fifo, u32);
unsigned long last_nostatus_check;
/*
* Timer to ensure tx status reports are read (rt2800usb).
*/