From 6258223522b5352e1f2226ed60bfe88156fb011c Mon Sep 17 00:00:00 2001
From: Daniele Palmas <dnlplm@gmail.com>
Date: Fri, 22 Feb 2019 13:44:29 +0100
Subject: [PATCH] port-qmi: increase qmi_device_open retries
Telit modems LM940/960 need more time for becoming responsive
to qmi requests after device appearance.
(cherry picked from commit 301bdcfef7e3407a675b37b99d2c57ddb249baa8)
---
src/mm-port-qmi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mm-port-qmi.c b/src/mm-port-qmi.c
index 58925c28..ac785b17 100644
--- a/src/mm-port-qmi.c
+++ b/src/mm-port-qmi.c
@@ -391,7 +391,7 @@ port_open_context_step (PortOpenContext *ctx)
qmi_device_open (ctx->device,
(QMI_DEVICE_OPEN_FLAGS_VERSION_INFO |
QMI_DEVICE_OPEN_FLAGS_PROXY),
- 10,
+ 20,
ctx->cancellable,
(GAsyncReadyCallback) qmi_device_open_first_ready,
ctx);
--
2.21.0