aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Poulain <loic.poulain@linaro.org>2021-04-20 15:04:11 +0200
committerLoic Poulain <loic.poulain@linaro.org>2021-04-21 12:55:23 +0200
commite57c59bf88615129efc0241957749102ea8af90d (patch)
tree226b28ab0fbb7e0c0e9fab7fa6e509d9b8caccc0
parent05b005951710c8810538ec448e89e32f28c3d592 (diff)
qmi: Increase qmi_device_open timeout
SDX55 modem can take slighlty more than 25 seconds to start all its services from cold boot/reset (including QMI services), causing QMI port opening timeout error. This patch increases the qmi_device_open timeout from 25 seconds to 45 seconds to prevent such issue. Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
-rw-r--r--src/mm-port-qmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-port-qmi.c b/src/mm-port-qmi.c
index 2fc72c65..c74a87b5 100644
--- a/src/mm-port-qmi.c
+++ b/src/mm-port-qmi.c
@@ -2223,7 +2223,7 @@ port_open_step (GTask *task)
mm_obj_dbg (self, "Opening device with flags: %s...", open_flags_str);
qmi_device_open (ctx->device,
open_flags,
- 25,
+ 45,
g_task_get_cancellable (task),
(GAsyncReadyCallback) qmi_device_open_first_ready,
task);