[PATCH] mbimcli: increase timeout for --query-visible-providers to 120s

Ben Chan benchan at chromium.org
Wed Dec 4 18:51:51 PST 2013


---
In practice, 60s is not quite long enough for scanning all visiable networks.

 cli/mbimcli-basic-connect.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cli/mbimcli-basic-connect.c b/cli/mbimcli-basic-connect.c
index 8f2db5e..025f1ef 100644
--- a/cli/mbimcli-basic-connect.c
+++ b/cli/mbimcli-basic-connect.c
@@ -1473,7 +1473,7 @@ mbimcli_basic_connect_run (MbimDevice   *device,
         request = mbim_message_visible_providers_query_new (MBIM_VISIBLE_PROVIDERS_ACTION_FULL_SCAN, NULL);
         mbim_device_command (ctx->device,
                              request,
-                             60, /* longer timeout, needs to scan */
+                             120, /* longer timeout, needs to scan */
                              ctx->cancellable,
                              (GAsyncReadyCallback)visible_providers_ready,
                              NULL);
-- 
1.8.5.1



More information about the libmbim-devel mailing list