From 15f53851c82f05a1456fd5adba5aec765236d0bc Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 27 Jul 2021 15:51:10 +0200 Subject: [PATCH] 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 --- src/mm-port-mbim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);