commit | ad3cba989e8b1bbefe078eece29f0e8d8aaea1d6 | [log] [tgz] |
---|---|---|
author | John Crispin <john@phrozen.org> | Fri Jun 10 13:28:07 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Jun 10 23:29:30 2016 -0700 |
tree | 3e112eeef812641a282e1c85cc029a217f2227d1 | |
parent | 12c97c13ea7174db5b5dc4a1ef91d4e9245bb569 [diff] |
net: mediatek: only wake the queue if it is stopped The current code unconditionally wakes up the queue at the end of each tx_poll action. Change the code to only wake up the queues if any of them have actually been stopped before. Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: David S. Miller <davem@davemloft.net>