device: Do not return error for unhandled devices
[platform/upstream/connman.git] / src / device.c
index 067c794..3e3e96d 100644 (file)
@@ -1199,7 +1199,7 @@ static int device_probe(struct connman_device *device)
        }
 
        if (device->driver == NULL)
-               return -ENODEV;
+               return 0;
 
        return setup_device(device);
 }