device: do not set dependency failed for port if master is reconnecting
Summary
device: do not set dependency failed for port if master is reconnecting
Purpose
When a master is re-enslaved, it will be deactivated and reconnecting
immediately, as a result, we should not set the dependency-failed for
its port. Otherwise, we may risk blocking the autoconnect of port
connections with higher autoconnect-priority.
https://gitlab.freedesktop.org/NetworkManager/NetworkManager-ci/-/merge_requests/1473
Checklist
Please read https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/CONTRIBUTING.md before opening the merge request. In particular, check that:
-
the subject for all commits is concise and explicative -
the message for all commits explains the reason for the change -
the source is properly formatted -
any relevant documentation is up to date -
you have added unit tests if applicable
Edited by Filip Pokryvka