return;
}
- int ret = rpc_port_proxy_vc_setting_proxy_vc_setting_connect(info->rpc_h);
+ int ret = rpc_port_proxy_vc_setting_proxy_vc_setting_connect_sync(info->rpc_h);
if (0 != ret) {
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Fail to request connection to stub. ret(%d)", ret);
return;
vc_setting_tidl_info_s* info = __get_tidl_info_s(pid);
RETVM_IF(NULL == info, VC_ERROR_INVALID_PARAMETER, TAG_VCC, "[ERROR] Fail to get tidl info");
+ __request_tidl_connect(info);
+
if (!info->connected) {
- SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Not Connected. Call __request_tidl_connect()");
- __request_tidl_connect(info);
+ SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Not Connected.");
return VC_ERROR_OPERATION_FAILED;
}