summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-07-18 17:00:00 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-09-03 18:35:30 +0200
commitfed2512c40328c38d55eb26858f69d8819b14fd2 (patch)
treec629e7cbd96861eb1cea83bf5aa694758a850344 /client.c
parent8ab60c191050c102a4bfce7f52e542d7a41b10a6 (diff)
downloadhardware_replicant_libsamsung-ril-GNUtoo/modem-i9300.tar.gz
hardware_replicant_libsamsung-ril-GNUtoo/modem-i9300.tar.bz2
hardware_replicant_libsamsung-ril-GNUtoo/modem-i9300.zip
Why does it do that: E use-Rlog/RLOG-RIL-IPC: Opening IPC FMT client failed <- RIL_Init/ril_client_open? E use-Rlog/RLOG-RIL: Opening IPC FMT client failed D use-Rlog/RLOG-RIL-IPC: Starting generic modem boot instead of that: E use-Rlog/RLOG-RIL: Opening IPC FMT client failed <- ril_client_thread? D use-Rlog/RLOG-RIL: Closed IPC FMT client D use-Rlog/RLOG-RIL-IPC: Starting i9300 modem boot Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'client.c')
-rw-r--r--client.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/client.c b/client.c
index 8958fd4..a7d71c6 100644
--- a/client.c
+++ b/client.c
@@ -156,6 +156,7 @@ void *ril_client_thread(void *data)
rc = ril_client_open(client);
if (rc < 0) {
+ RIL_LOGE("%s goto failure", __FUNCTION__);
RIL_UNLOCK();
goto failure;
}
@@ -173,15 +174,24 @@ void *ril_client_thread(void *data)
}
failure:
+ RIL_LOGE("%s failure #%d", __FUNCTION__, client->failures);
+
client->failures++;
} while (client->failures < RIL_CLIENT_RETRY_COUNT);
+ RIL_LOGE("%s Before lock", __FUNCTION__);
+
RIL_LOCK();
+ RIL_LOGE("%s inside lock", __FUNCTION__);
ril_client_close(client);
+ RIL_LOGE("%s client close done", __FUNCTION__);
+
ril_client_destroy(client);
+ RIL_LOGE("%s client destroy done", __FUNCTION__);
RIL_UNLOCK();
+ RIL_LOGE("%s outside lock", __FUNCTION__);
RIL_LOGD("Stopped %s client loop", client->name);