projects
/
NetworkManager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b2abe0
)
device: always do a unrealized delete check when rechecking available connections
author
Lubomir Rintel
<lkundrak@v3.sk>
Mon, 15 Feb 2016 20:14:22 +0000
(21:14 +0100)
committer
Lubomir Rintel
<lkundrak@v3.sk>
Mon, 15 Feb 2016 20:32:49 +0000
(21:32 +0100)
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.
src/devices/nm-device.c
patch
|
blob
|
history
diff --git
a/src/devices/nm-device.c
b/src/devices/nm-device.c
index
cbcb2c7
..
ef67230
100644
(file)
--- 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);
}
/**