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:
Lubomir Rintel 2016-02-15 21:14:22 +01:00
parent 8b2abe0e2c
commit 30ce8c305b

View file

@ -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);
}
/**