core: call nm_manager_device_recheck_auto_activate_schedule() from "nm-manager.c"

No need to call down to the device, to call back up to the NMManager.

(cherry picked from commit a81925ad32)
This commit is contained in:
Thomas Haller 2023-04-05 11:16:45 +02:00
parent 0c449ef4d8
commit 4558c23209
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -3459,7 +3459,7 @@ _device_realize_finish(NMManager *self, NMDevice *device, const NMPlatformLink *
nm_device_state_changed(device,
NM_DEVICE_STATE_UNAVAILABLE,
NM_DEVICE_STATE_REASON_NOW_MANAGED);
nm_device_recheck_auto_activate_schedule(device);
nm_manager_device_recheck_auto_activate_schedule(self, device);
}
/**