diff options
| author | Michael Biebl <biebl@debian.org> | 2017-01-25 21:09:50 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2017-01-25 21:09:50 +0100 |
| commit | 7f4dff3943c64e1d0e5d13b2ac915088dde165e6 (patch) | |
| tree | abfbc3a4102d3bba349b3e25265c2213ad636954 /src/nm-manager.c | |
| parent | d462f64d6044349b0a4e3581cf2c97bbab7aec97 (diff) | |
New upstream version 1.6.0 upstream/1.6.0
Diffstat (limited to 'src/nm-manager.c')
| -rw-r--r-- | src/nm-manager.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nm-manager.c b/src/nm-manager.c index 867e0db6..0c1d36e1 100644 --- a/src/nm-manager.c +++ b/src/nm-manager.c @@ -3122,6 +3122,13 @@ _internal_activate_device (NMManager *self, NMActiveConnection *active, GError * } } + /* Now that we're activating a slave for that master, make sure the master just + * decides to go unmanaged while we're activating (perhaps because other slaves + * go away leaving him with no kids). + */ + nm_device_set_unmanaged_by_flags (master_device, NM_UNMANAGED_EXTERNAL_DOWN, + NM_UNMAN_FLAG_OP_FORGET, NM_DEVICE_STATE_REASON_USER_REQUESTED); + nm_active_connection_set_master (active, master_ac); _LOGD (LOGD_CORE, "Activation of '%s' depends on active connection %p %s", nm_settings_connection_get_id (connection), |