Fix TBT fail issue (TBT-Gatt-client) 16/67816/1 accepted/tizen/common/20160429.170313 accepted/tizen/ivi/20160429.011807 accepted/tizen/mobile/20160429.011738 accepted/tizen/tv/20160429.011656 accepted/tizen/wearable/20160429.011706 submit/tizen/20160428.104148
authorDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 28 Apr 2016 10:29:46 +0000 (19:29 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 28 Apr 2016 10:29:46 +0000 (19:29 +0900)
TBT application set the "auto_connect" flag as TRUE.
Because of this, some connection issue is occured in bluez side.

We need to check why auto connect option is not working. But to resolve
the issue, always set the flag as FALSE.

http://suprem.sec.samsung.net/jira/browse/TSAM-2614

Change-Id: I80219d9f30c5ef43c28bed9c7257b7e4825898d3
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
bt-service/bt-service-device.c

index 0c0ca5e..434b416 100755 (executable)
@@ -1832,6 +1832,8 @@ int _bt_connect_le_device(int request_id,
                _bt_set_scan_parameters(&scan_params);
        }
 
+       auto_connect = FALSE;
+
        g_dbus_proxy_call(device_proxy, "ConnectLE",
                                 g_variant_new("(b)", auto_connect),
                                 G_DBUS_CALL_FLAGS_NONE,