summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorZhang zhengguang <zhengguang.zhang@intel.com>2014-03-25 06:16:52 (GMT)
committerZhang zhengguang <zhengguang.zhang@intel.com>2014-10-31 08:06:20 (GMT)
commitee0652fae6fc8615408e0937f3f61ebd28f9c42c (patch)
tree6fb8f82eec00559c9482a969536b56585c4d7d61 /plugins
parent1eb2741818fb2d2ec09ab055c8e4d1df1f2fb481 (diff)
downloadconnman-ee0652fae6fc8615408e0937f3f61ebd28f9c42c.zip
connman-ee0652fae6fc8615408e0937f3f61ebd28f9c42c.tar.gz
connman-ee0652fae6fc8615408e0937f3f61ebd28f9c42c.tar.bz2
Tizen: Unify bluetooth tethering enable logic
In bluez 4.x plugin, when bluetooth tethering is enabled, set_tethering() returns 0, while in bluez 5.x plugin, it returns -EINPROGRESS, which is not compatiable for ConnMan to handle both of them, this patch makes bluez 5.x tethering enable logic consistent with bluez 4.x. Change-Id: I618efd32b5f123fe9bdb58d10adb29c67a87796f
Diffstat (limited to 'plugins')
-rw-r--r--plugins/bluetooth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c
index 82217d0..28df406 100644
--- a/plugins/bluetooth.c
+++ b/plugins/bluetooth.c
@@ -880,7 +880,7 @@ static int bluetooth_tech_set_tethering(struct connman_technology *technology,
if (i == 0)
return -ENODEV;
- return -EINPROGRESS;
+ return 0;
}
static struct connman_technology_driver tech_driver = {