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>
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user