summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/phy_device.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2017-12-19 12:33:56 +0100
committerKalle Valo <kvalo@codeaurora.org>2018-01-08 18:39:07 +0100
commit6dd80efd75ce7c2dbd9f117cf585ee2b33a42ee1 (patch)
tree907e96d17c26dea1b1a9bae790cd8ebe396becf0 /drivers/net/phy/phy_device.c
parentrt2x00: pause almost full queue early (diff)
downloadlinux-6dd80efd75ce7c2dbd9f117cf585ee2b33a42ee1.tar.xz
linux-6dd80efd75ce7c2dbd9f117cf585ee2b33a42ee1.zip
rt2x00: do not pause queue unconditionally on error path
Pausing queue without checking threshold is racy with txdone path. Moreover we do not need pause queue on any error, but only if queue is full - in case when we send RTS frame ( other cases of almost full queue are already handled in rt2x00queue_write_tx_frame() ). Patch fixes of theoretically possible problem of pausing empty queue. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Tested-by: Enrico Mioso <mrkiko.rs@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/phy/phy_device.c')
0 files changed, 0 insertions, 0 deletions