summaryrefslogtreecommitdiff
path: root/plugins/bluetooth.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-12-20 07:26:07 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-12-20 07:26:07 +0100
commit7d5ec9de1cc7c0c50b8b54affc09b69f6a51b931 (patch)
tree4c394934b630f576da2ec6b2ffa44aae8f885221 /plugins/bluetooth.c
parentae537ca940011f9c9e2e753f9ca74e3efc3db8ac (diff)
downloadconnman-7d5ec9de1cc7c0c50b8b54affc09b69f6a51b931.tar.gz
connman-7d5ec9de1cc7c0c50b8b54affc09b69f6a51b931.tar.bz2
connman-7d5ec9de1cc7c0c50b8b54affc09b69f6a51b931.zip
Return failure when disabling Bluetooth
Diffstat (limited to 'plugins/bluetooth.c')
-rw-r--r--plugins/bluetooth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c
index 6b0f05c4..6988693e 100644
--- a/plugins/bluetooth.c
+++ b/plugins/bluetooth.c
@@ -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 = {