summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Palmas <dnlplm@gmail.com>2019-02-22 13:44:29 +0100
committerDaniele Palmas <dnlplm@gmail.com>2019-02-22 13:44:29 +0100
commit301bdcfef7e3407a675b37b99d2c57ddb249baa8 (patch)
treeb874cbddbe04a324d95493ca8dd4fb838622ae85
parent35d84ac840dca47ae4bcca54d8ce4fed764be8b4 (diff)
downloadModemManager-301bdcfef7e3407a675b37b99d2c57ddb249baa8.tar.gz
port-qmi: increase qmi_device_open retries
Telit modems LM940/960 need more time for becoming responsive to qmi requests after device appearance.
-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 129700c93..af9813500 100644
--- a/src/mm-port-qmi.c
+++ b/src/mm-port-qmi.c
@@ -405,7 +405,7 @@ port_open_step (GTask *task)
qmi_device_open (ctx->device,
(QMI_DEVICE_OPEN_FLAGS_VERSION_INFO |
QMI_DEVICE_OPEN_FLAGS_PROXY),
- 10,
+ 20,
g_task_get_cancellable (task),
(GAsyncReadyCallback) qmi_device_open_first_ready,
task);