return device->blocked;
}
-int __connman_device_scan(struct connman_device *device)
+static int device_scan(struct connman_device *device)
{
if (!device->driver || !device->driver->scan)
return -EOPNOTSUPP;
continue;
}
- err = __connman_device_scan(device);
+ err = device_scan(device);
if (err < 0 && err != -EINPROGRESS) {
DBG("err %d", err);
/* XXX maybe only a continue? */