summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xresource/csdk/connectivity/src/bt_le_adapter/tizen/caleclient.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/resource/csdk/connectivity/src/bt_le_adapter/tizen/caleclient.c b/resource/csdk/connectivity/src/bt_le_adapter/tizen/caleclient.c
index 7c5f6c872..dac20bea6 100755
--- a/resource/csdk/connectivity/src/bt_le_adapter/tizen/caleclient.c
+++ b/resource/csdk/connectivity/src/bt_le_adapter/tizen/caleclient.c
@@ -1170,11 +1170,8 @@ CAResult_t CALEGattConnect(const char *remoteAddress)
oc_mutex_lock(g_LEClientConnectMutex);
CAResult_t result = CA_STATUS_OK;
-#ifdef TIZEN_VD
- int ret = bt_gatt_connect(remoteAddress, true);
-#else
int ret = bt_gatt_connect(remoteAddress, false);
-#endif
+
if (BT_ERROR_NONE != ret)
{
OIC_LOG_V(ERROR, TAG, "bt_gatt_connect Failed with ret value [%s] ",