diff options
author | Zhang zhengguang <zhengguang.zhang@intel.com> | 2014-03-25 14:16:52 +0800 |
---|---|---|
committer | Zhang zhengguang <zhengguang.zhang@intel.com> | 2014-03-27 10:30:11 +0800 |
commit | eb29496fffd889b22d4a875c37e1e7af1bbccb70 (patch) | |
tree | 5ad2ba0a46a14e4dfa7246f643b4d5c38e25fd89 | |
parent | 67ae0de7d88ad99fb6e9ae8e01e05d729cf316a9 (diff) | |
download | connman-accepted/tizen_generic.tar.gz connman-accepted/tizen_generic.tar.bz2 connman-accepted/tizen_generic.zip |
bluetooth: Unify bluetooth tethering enable logictizen_3.0.m14.2_ivi_releasesubmit/tizen/20140328.063916accepted/tizen/ivi/panda/20140328.181256accepted/tizen/ivi/20140328.192754accepted/tizen/generic/20140331.081727tizen_3.0.m14.2_iviaccepted/tizen_ivi_pandaaccepted/tizen_generic
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
-rw-r--r-- | plugins/bluetooth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c index a3946595..879c608e 100644 --- a/plugins/bluetooth.c +++ b/plugins/bluetooth.c @@ -848,7 +848,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 = { |