Return failure when disabling Bluetooth
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 20 Dec 2008 06:26:07 +0000 (07:26 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 20 Dec 2008 06:26:07 +0000 (07:26 +0100)
plugins/bluetooth.c

index 6b0f05c..6988693 100644 (file)
@@ -64,7 +64,7 @@ static int bluetooth_disable(struct connman_element *device)
 {
        DBG("device %p name %s", device, device->name);
 
-       return 0;
+       return -EINVAL;
 }
 
 static struct connman_driver bluetooth_driver = {