diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-07-27 15:51:10 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-07-27 16:00:58 +0200 |
commit | 15f53851c82f05a1456fd5adba5aec765236d0bc (patch) | |
tree | 60bb1340931bd932f1ca75cc02af435b705fd194 /src/mm-port-mbim.c | |
parent | bcf11c0e50e4d37334777a1d34b950dc10af5b76 (diff) |
port-mbim: increase timeout of first command after port open
The port open operation may be happening very early after the device
has booted, so let's give the module some more time to reply the very
first MBIM query we do. The original 10s seems to be a bit tight in
some cases.
See https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/405#note_1006746
Diffstat (limited to 'src/mm-port-mbim.c')
-rw-r--r-- | src/mm-port-mbim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-port-mbim.c b/src/mm-port-mbim.c index 695412a2..c0c4c1a7 100644 --- a/src/mm-port-mbim.c +++ b/src/mm-port-mbim.c @@ -533,7 +533,7 @@ mbim_query_device_services (GTask *task) message = mbim_message_device_services_query_new (NULL); mbim_device_command (self->priv->mbim_device, message, - 10, + 20, NULL, (GAsyncReadyCallback)mbim_query_device_services_ready, task); |