mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 21:30:10 +01:00
nm-checkpoint: skip unmanage state check on unrealized devices
The "activate" label is used only for unrealized software devices that should be recreated. Move the label to skip useless checks.
This commit is contained in:
parent
6621820a70
commit
b159a0da82
1 changed files with 1 additions and 1 deletions
|
|
@ -253,7 +253,6 @@ nm_checkpoint_rollback (NMCheckpoint *self)
|
|||
goto next_dev;
|
||||
}
|
||||
|
||||
activate:
|
||||
/* Manage the device again if needed */
|
||||
if ( nm_device_get_unmanaged_flags (device, NM_UNMANAGED_USER_EXPLICIT)
|
||||
&& dev_checkpoint->unmanaged_explicit != NM_UNMAN_FLAG_OP_SET_UNMANAGED) {
|
||||
|
|
@ -276,6 +275,7 @@ activate:
|
|||
goto next_dev;
|
||||
}
|
||||
|
||||
activate:
|
||||
if (dev_checkpoint->applied_connection) {
|
||||
gboolean need_update, need_activation;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue