diff options
author | Abhishek Chandra <abhishek.ch@samsung.com> | 2018-09-10 14:31:51 +0530 |
---|---|---|
committer | Abhishek Chandra <abhishek.ch@samsung.com> | 2018-09-10 14:33:50 +0530 |
commit | 138be70b2c792d55d415eed23a3a2488d9005527 (patch) | |
tree | 6430ea4e8f0f962eaa697f15d3c8245765c4c5b6 | |
parent | 24953b69d833e21d3b98d6e390764e6fa92b72e0 (diff) | |
download | bluez-138be70b2c792d55d415eed23a3a2488d9005527.tar.gz bluez-138be70b2c792d55d415eed23a3a2488d9005527.tar.bz2 bluez-138be70b2c792d55d415eed23a3a2488d9005527.zip |
connect_le is failing for autoconnectsubmit/tizen_5.0/20181101.000005submit/tizen/20180928.052011submit/tizen/20180928.032653accepted/tizen/unified/20181001.092613accepted/tizen/5.0/unified/20181102.022516
[Problem] connect_le api is failing when user set
autoconnect as true .
[Cause] when auto connect is true ,
device_set_auto_connect is called
to set device autoconnect parametes and
it is return back . device_connect_le call is
not called in this case .
[Fix] Removed the dbus_message_new_method_return .
[Verification] verified by code review in upstream
bluez code and also tested by using unit test
in platform.
Change-Id: I09e3d8e1e9169cb734419f9516ba39800ee309ee
Signed-off-by: Abhishek Chandra <abhishek.ch@samsung.com>
-rw-r--r-- | src/device.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/device.c b/src/device.c index 1a9181c1..ea880e9a 100644 --- a/src/device.c +++ b/src/device.c @@ -3538,8 +3538,6 @@ static DBusMessage *connect_le(DBusConnection *conn, DBusMessage *msg, DBG("Start BLE auto connection"); dev->disable_auto_connect = FALSE; device_set_auto_connect(dev, TRUE); - - return dbus_message_new_method_return(msg); } err = device_connect_le(dev); |