diff options
author | Alex Elder <elder@linaro.org> | 2021-08-04 18:36:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-05 13:27:04 +0300 |
commit | 30c2515b89f1a6361170961e72bebd375f611b9b (patch) | |
tree | 5a54641e544364e3bee28389e92c669211f5d923 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1f52247ef840db6ddd727fb1bd1c38b7153120c3 (diff) | |
download | linux-30c2515b89f1a6361170961e72bebd375f611b9b.tar.xz |
net: ipa: don't suspend/resume modem if not up
The modem network device is set up by ipa_modem_start(). But its
TX queue is not actually started and endpoints enabled until it is
opened.
So avoid stopping the modem network device TX queue and disabling
endpoints on suspend or stop unless the netdev is marked UP. And
skip attempting to resume unless it is UP.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions