Patch "rt2800usb: mark tx failure on timeout" has been added to the 4.9-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
rt2800usb: mark tx failure on timeout
to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
rt2800usb-mark-tx-failure-on-timeout.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Thu Nov 9 09:48:01 CET 2017
From: Stanislaw Gruszka <[email protected]>
Date: Fri, 6 Jan 2017 14:05:16 +0100
Subject: rt2800usb: mark tx failure on timeout
From: Stanislaw Gruszka <[email protected]>
[ Upstream commit 1701221696764b6861d0ee66850812a8900b9b9b ]
If we do not get TX status in reasonable time, we most likely fail to send frame hence mark it as so.
--- drivers/net/wireless/ralink/rt2x00/rt2800usb.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/net/wireless/ralink/rt2x00/rt2800usb.c +2 -3
@@ -646,10 +646,9 @@ static void rt2800usb_txdone_nostatus(st !test_bit(ENTRY_DATA_STATUS_PENDING, &entry->flags)) break; -if (test_bit (ENTRY_DATA_IO_FAILED , &entry->flags)) +if (test_bit (ENTRY_DATA_IO_FAILED , &entry->flags) || +rt2800usb_entry_txstatus_timeout (entry))rt2x00lib_txdone_noinfo (entry,TXDONE_FAILURE ); -else if (rt2800usb_entry_txstatus_timeout (entry)) -rt2x00lib_txdone_noinfo (entry,TXDONE_UNKNOWN );else break ; }
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/rt2800usb-mark-tx-failure-on-timeout.patch queue-4.9/sched-cputime-powerpc32-fix-stale-scaled-stime-on-context-switch.patch