summaryrefslogtreecommitdiff
path: root/src/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c
index ad976b5a..315c5148 100644
--- a/src/device.c
+++ b/src/device.c
@@ -559,7 +559,7 @@ static int setup_device(struct connman_device *device)
break;
}
- if (__connman_udev_get_blocked(device->phyindex) == TRUE)
+ if (__connman_detect_get_blocked(device->phyindex) == TRUE)
return 0;
if (device->offlinemode == FALSE &&