summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRavi Prasad RK <ravi.rk@samsung.com>2016-04-13 09:57:26 +0530
committerPatrik Flykt <patrik.flykt@linux.intel.com>2016-04-13 10:48:00 +0300
commit31506059f79d5e0aa45916b5655374383a6447db (patch)
tree37c472d4bce072cb17291d679dc97c35865a0109
parent97667655e221b6dc5dd71542d4dc0aef80f3596e (diff)
downloadconnman-31506059f79d5e0aa45916b5655374383a6447db.tar.gz
bluetooth: Change function return value to boolean
-rw-r--r--plugins/bluetooth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c
index 3bf8f0f0..181df270 100644
--- a/plugins/bluetooth.c
+++ b/plugins/bluetooth.c
@@ -720,7 +720,7 @@ static bool tethering_create(const char *path,
if (!bridge) {
g_free(tethering);
- return -EINVAL;
+ return false;
}
proxy = g_dbus_proxy_new(client, path, "org.bluez.NetworkServer1");