Enable auto connect while calling bt_gatt_connect
[platform/upstream/iotivity.git] / resource / csdk / connectivity / src / bt_le_adapter / tizen / caleclient_vd.c
index a79a307..0b79771 100644 (file)
@@ -1121,7 +1121,7 @@ CAResult_t CALEGattConnect(const char *remoteAddress)
     oc_mutex_lock(g_LEClientConnectMutex);
     CAResult_t result = CA_STATUS_OK;
 
-    int ret = bt_gatt_connect(remoteAddress, false);
+    int ret = bt_gatt_connect(remoteAddress, true);
     if (BT_ERROR_NONE != ret)
     {
         OIC_LOG_V(ERROR, TAG, "bt_gatt_connect Failed with ret value [%s] ",