diff options
author | 2020-04-30 16:35:10 -0500 | |
---|---|---|
committer | 2020-04-30 18:04:58 -0700 | |
commit | 713b6ebb4c376b3fb65fdceb3b59e401c93248f9 (patch) | |
tree | 475adee0503e2bddafc368363fdc3f22cb616ca0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'ionic-fw-upgrade-bug-fixes' (diff) | |
download | linux-dev-713b6ebb4c376b3fb65fdceb3b59e401c93248f9.tar.xz linux-dev-713b6ebb4c376b3fb65fdceb3b59e401c93248f9.zip |
net: ipa: fix a bug in ipa_endpoint_stop()
In ipa_endpoint_stop(), for TX endpoints we set the number of retries
to 0. When we break out of the loop, retries being 0 means we return
EIO rather than the value of ret (which should be 0).
Fix this by using a non-zero retry count for both RX and TX
channels, and just break out of the loop after calling
gsi_channel_stop() for TX channels. This way only RX channels
will retry, and the retry count will be non-zero at the end
for TX channels (so the proper value gets returned).
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions