diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2015-12-04 16:29:10 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-06 12:02:24 -0500 |
commit | ed7d42e24effbd3681e909711a7a2119a85e9217 (patch) | |
tree | 2b02654d73258d6284f3e0c67ce1a9849610681c /net | |
parent | f8c0cfa5eca902d388c0b57c7ca29a1ff2e6d8c6 (diff) | |
download | linux-stable-ed7d42e24effbd3681e909711a7a2119a85e9217.tar.gz linux-stable-ed7d42e24effbd3681e909711a7a2119a85e9217.tar.bz2 linux-stable-ed7d42e24effbd3681e909711a7a2119a85e9217.zip |
net: qca_spi: fix transmit queue timeout handling
In case of a tx queue timeout every transmit is blocked until the
QCA7000 resets himself and triggers a sync which makes the driver
flushs the tx ring. So avoid this blocking situation by triggering
the sync immediately after the timeout. Waking the queue doesn't
make sense in this situation.
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Fixes: 291ab06ecf67 ("net: qualcomm: new Ethernet over SPI driver for QCA7000")
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions