port-qmi: increase qmi_device_open retries

Telit modems LM940/960 need more time for becoming responsive
to qmi requests after device appearance.
This commit is contained in:
Daniele Palmas
2019-02-22 13:44:29 +01:00
parent 35d84ac840
commit 301bdcfef7
+1 -1
View File
@@ -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);