rt2x00: use different txstatus timeouts when flushing
authorStanislaw Gruszka <sgruszka@redhat.com>
Wed, 26 Sep 2018 10:24:56 +0000 (12:24 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 1 Oct 2018 15:37:34 +0000 (18:37 +0300)
commitadf26a356f132e35093585521ea3e36cd185af83
tree5904ba10dc4634c82f405033cbafbe9484b43164
parent5022efb50f625d11fdf18b1fee0f64ebb1863664
rt2x00: use different txstatus timeouts when flushing

Use different tx status timeouts for normal operation and when flushing.
This increase timeout to 2s for normal operation as when there are bad
radio conditions and frames are reposted many times device can not provide
the status for quite long. With new timeout we can still get valid status
on such bad conditions.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ralink/rt2x00/rt2800lib.c
drivers/net/wireless/ralink/rt2x00/rt2x00.h
drivers/net/wireless/ralink/rt2x00/rt2x00mac.c