From 7d5ec9de1cc7c0c50b8b54affc09b69f6a51b931 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 20 Dec 2008 07:26:07 +0100 Subject: [PATCH] Return failure when disabling Bluetooth --- plugins/bluetooth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c index 6b0f05c..6988693 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 = { -- 1.7.9.5