From: sangrae.kim Date: Mon, 21 Sep 2015 01:04:54 +0000 (+0900) Subject: [Bluetooth] Fix the flag related with auto_connect X-Git-Tag: accepted/tizen/mobile/20151026.233336^2^2~93 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8461510590a343e529db89bb4bf8546efb54cd0d;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git [Bluetooth] Fix the flag related with auto_connect Change-Id: I2e68b966a34181217665c5872c32f07869244956 Signed-off-by: sangrae.kim --- diff --git a/src/bluetooth/bluetooth_le_device.cc b/src/bluetooth/bluetooth_le_device.cc index 5f389a5..dcb429b 100755 --- a/src/bluetooth/bluetooth_le_device.cc +++ b/src/bluetooth/bluetooth_le_device.cc @@ -320,7 +320,7 @@ void BluetoothLEDevice::Connect(const picojson::value& data, instance_.AsyncResponse(callback_handle, PlatformResult(ErrorCode::NO_ERROR)); } else { // not connected yet - ret = bt_gatt_connect(address.c_str(), true); + ret = bt_gatt_connect(address.c_str(), false); if (BT_ERROR_NONE != ret) { instance_.AsyncResponse( callback_handle,