aboutsummaryrefslogtreecommitdiffstats
path: root/tools/common/modem.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/common/modem.c')
-rw-r--r--tools/common/modem.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/tools/common/modem.c b/tools/common/modem.c
index b5fcf99..4cf904c 100644
--- a/tools/common/modem.c
+++ b/tools/common/modem.c
@@ -319,6 +319,8 @@ int modem_read_loop(struct ipc_client *client,
return rc;
}
+ common_modem_log(client, "%s: Received response", __func__);
+
rc = modem_response_handle(client, &resp, new_state, handler);
common_modem_log(client, "modem_response_handle: rc=%d", rc);
@@ -410,7 +412,7 @@ int modem_start(struct ipc_client *client, enum modem_state new_state,
if (!client)
return 0;
- common_modem_log(client, "%s: requested state %s: %d\n",
+ common_modem_log(client, "%s: requested state %s: %d",
__FUNCTION__,
modem_state_to_string(new_state),
new_state);
@@ -421,9 +423,15 @@ int modem_start(struct ipc_client *client, enum modem_state new_state,
return 1;
}
+ common_modem_log(client, "%s: modem_start done", __func__);
+ common_modem_log(client, "%s: Starting modem_read_loop", __func__);
+
rc = modem_read_loop(client, new_state, handler);
if (rc < 0)
common_modem_log(client,
"modem_read_loop failed: error %d\n", rc);
+
+ common_modem_log(client, "%s: modem_read_loop done. rc=%d", __func__, rc);
+
return 0;
}