diff options
author | Alex Elder <elder@linaro.org> | 2021-07-27 16:19:33 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-28 00:06:27 +0100 |
commit | 2c257248ce8ed483555eb832d7766ba8f6fde0e7 (patch) | |
tree | 7c7c63df08318aa80d16ef54eef1cb515b093b1e /net/core/lwt_bpf.c | |
parent | f2b0355363f378e0baa466a48e78f5f308b3a1a7 (diff) | |
download | linux-2c257248ce8ed483555eb832d7766ba8f6fde0e7.tar.gz linux-2c257248ce8ed483555eb832d7766ba8f6fde0e7.tar.bz2 linux-2c257248ce8ed483555eb832d7766ba8f6fde0e7.zip |
net: ipa: don't suspend endpoints if setup not complete
Until we complete the setup stage of initialization, GSI is not
initialized and therefore endpoints aren't usable. So avoid
suspending endpoints during system suspend unless setup is complete.
Clear the setup_complete flag at the top of ipa_teardown() to
reflect the fact that things are no longer in setup state.
Get rid of a misplaced (and superfluous) comment.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/lwt_bpf.c')
0 files changed, 0 insertions, 0 deletions