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:
Dan Williams 2013-11-07 12:20:53 -06:00
parent 1bf16b6f06
commit a31dfea052

View file

@ -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 {