mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-01 07:10:12 +01:00
core: fix assumed active connection exporting after ff7e47a4 (core: kill PendingActivation and move authorization to NMActiveConnection)
Assumed active connections never got a D-Bus path and were never exported to D-Bus.
This commit is contained in:
parent
1bf16b6f06
commit
a31dfea052
1 changed files with 1 additions and 0 deletions
|
|
@ -1985,6 +1985,7 @@ add_device (NMManager *self, NMDevice *device)
|
|||
subject = nm_auth_subject_new_internal ();
|
||||
active = _new_active_connection (self, connection, NULL, device, subject, &error);
|
||||
if (active) {
|
||||
nm_active_connection_export (active);
|
||||
active_connection_add (self, active);
|
||||
nm_device_activate (device, NM_ACT_REQUEST (active));
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue