mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-05 12:20:36 +01:00
device: always do a unrealized delete check when rechecking available connections
It could be that what changed is the unrealize flag, not the number available connections. That could happen when a last connection for a software device is removed.
This commit is contained in:
parent
8b2abe0e2c
commit
30ce8c305b
1 changed files with 2 additions and 3 deletions
|
|
@ -9378,10 +9378,9 @@ nm_device_recheck_available_connections (NMDevice *self)
|
|||
changed = TRUE;
|
||||
}
|
||||
|
||||
if (changed) {
|
||||
if (changed)
|
||||
available_connections_notify (self);
|
||||
available_connections_check_delete_unrealized (self);
|
||||
}
|
||||
available_connections_check_delete_unrealized (self);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue