diff options
author | Loic Poulain <loic.poulain@linaro.org> | 2020-11-27 11:33:31 +0100 |
---|---|---|
committer | Loic Poulain <loic.poulain@linaro.org> | 2020-11-27 11:33:31 +0100 |
commit | 000e272a637d06ca7b76e70dc65a70499507cb09 (patch) | |
tree | 8704475f733ffac4bacdcf3e102ed9e779972d29 | |
parent | 8b893d0d6b3cd6c133de54758b88ad874771bc9d (diff) |
Increase DMS allocation time
That is only possible once modem has started all is services.
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
-rwxr-xr-x | mhi-qmi-connect | bin | 100352 -> 100360 bytes | |||
-rw-r--r-- | mhi-qmi-connect.c | 3 |
2 files changed, 2 insertions, 1 deletions
diff --git a/mhi-qmi-connect b/mhi-qmi-connect Binary files differindex ade77db..596b6bc 100755 --- a/mhi-qmi-connect +++ b/mhi-qmi-connect diff --git a/mhi-qmi-connect.c b/mhi-qmi-connect.c index 9cbddb2..6a33537 100644 --- a/mhi-qmi-connect.c +++ b/mhi-qmi-connect.c @@ -878,7 +878,8 @@ static void device_open_ready(QmiDevice *dev, GAsyncResult *res) if (qmi_dev) wwan_iface = qmi_device_get_wwan_iface(device); - qmi_device_allocate_client(dev, service_dms, QMI_CID_NONE, 10, cancellable, + /* Wait 30s to give time for modem to completely boot */ + qmi_device_allocate_client(dev, service_dms, QMI_CID_NONE, 35, cancellable, (GAsyncReadyCallback)allocate_dms_client_ready, NULL); } |