diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2016-02-15 21:14:22 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2016-02-15 21:15:55 +0100 |
commit | e716dc5c76876c9394269fb0f3c9ba4d6fe46eb5 (patch) | |
tree | a51a2ea0207ca7cea6d43f31f8a18f0c7cb4f7c2 | |
parent | 54332b2d4c58cfbe0c6394d1dce9fb338d7941e8 (diff) | |
download | NetworkManager-lr/unrealized.tar.gz |
device: always do a unrealized delete check when rechecking available connectionslr/unrealized
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.
-rw-r--r-- | src/devices/nm-device.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index ff6c13385a..c735fbc0e8 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -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); } /** |