summaryrefslogtreecommitdiff
path: root/src/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/device.c b/src/device.c
index 813e3bc..7633cee 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1062,6 +1062,11 @@ int __connman_device_set_blocked(struct connman_device *device,
return set_powered(device, powered);
}
+connman_bool_t __connman_device_get_blocked(struct connman_device *device)
+{
+ return device->blocked;
+}
+
int __connman_device_scan(struct connman_device *device)
{
if (!device->driver || !device->driver->scan)