summaryrefslogtreecommitdiff
path: root/src/devices/nm-device-wpan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/nm-device-wpan.c')
-rw-r--r--src/devices/nm-device-wpan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device-wpan.c b/src/devices/nm-device-wpan.c
index e25e169d07..0c4cd67a3b 100644
--- a/src/devices/nm-device-wpan.c
+++ b/src/devices/nm-device-wpan.c
@@ -145,7 +145,7 @@ act_stage1_prepare (NMDevice *device, NMDeviceStateReason *out_failure_reason)
hwaddr_len);
if ( lowpan_plink
&& NM_FLAGS_HAS (lowpan_plink->n_ifi_flags, IFF_UP)) {
- lowpan_device = nm_manager_get_device_by_ifindex (nm_manager_get (),
+ lowpan_device = nm_manager_get_device_by_ifindex (NM_MANAGER_GET,
lowpan_plink->ifindex);
}