summaryrefslogtreecommitdiffstats
path: root/ipc.c
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2013-07-03 23:10:29 +0200
committerPaul Kocialkowski <contact@paulk.fr>2013-07-03 23:10:29 +0200
commitec7f10d79b240e36ca3594dbf27d3be84f2c6d1e (patch)
tree8da1e421a72e44ca0f30e8c37cda591d8848a5af /ipc.c
parent570caee37e13f0dcd266f7817b47ed9799f24f9e (diff)
downloadhardware_ril_samsung-ril-ec7f10d79b240e36ca3594dbf27d3be84f2c6d1e.zip
hardware_ril_samsung-ril-ec7f10d79b240e36ca3594dbf27d3be84f2c6d1e.tar.gz
hardware_ril_samsung-ril-ec7f10d79b240e36ca3594dbf27d3be84f2c6d1e.tar.bz2
ipc: Open client after power on
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'ipc.c')
-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;