aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ralink/rt2x00/rt2x00.h
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2018-09-26 12:24:55 +0200
committerKalle Valo <kvalo@codeaurora.org>2018-10-01 18:37:31 +0300
commit5022efb50f625d11fdf18b1fee0f64ebb1863664 (patch)
tree2d971308db00a22ddc69fa5ea3a26610a7164148 /drivers/net/wireless/ralink/rt2x00/rt2x00.h
parentrt2800mmio: use txdone/txstatus routines from lib (diff)
downloadlinux-dev-5022efb50f625d11fdf18b1fee0f64ebb1863664.tar.xz
linux-dev-5022efb50f625d11fdf18b1fee0f64ebb1863664.zip
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>
Diffstat (limited to 'drivers/net/wireless/ralink/rt2x00/rt2x00.h')
-rw-r--r--drivers/net/wireless/ralink/rt2x00/rt2x00.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00.h b/drivers/net/wireless/ralink/rt2x00/rt2x00.h
index a279a4363bc1..af062cda4a23 100644
--- a/drivers/net/wireless/ralink/rt2x00/rt2x00.h
+++ b/drivers/net/wireless/ralink/rt2x00/rt2x00.h
@@ -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).
*/