summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipc.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/ipc.c b/ipc.c
index b43e1c9..24df4b8 100644
--- a/ipc.c
+++ b/ipc.c
@@ -130,14 +130,6 @@ int ipc_fmt_create(struct ril_client *client)
goto error_bootstrap;
}
- LOGD("Client open...");
-
- rc = ipc_client_open(ipc_client);
- if (rc < 0) {
- LOGE("%s: failed to open ipc client", __func__);
- goto error_open;
- }
-
LOGD("Client power on...");
rc = ipc_client_power_on(ipc_client);
@@ -146,6 +138,14 @@ int ipc_fmt_create(struct ril_client *client)
goto error_power_on;
}
+ LOGD("Client open...");
+
+ rc = ipc_client_open(ipc_client);
+ if (rc < 0) {
+ LOGE("%s: failed to open ipc client", __func__);
+ goto error_open;
+ }
+
LOGD("IPC FMT client done");
return 0;