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

Aleksander Morgado aleksander at lanedo.com
Mon Dec 9 04:12:56 PST 2013


On 05/12/13 03:51, Ben Chan wrote:
> ---
> In practice, 60s is not quite long enough for scanning all visiable networks.
> 

Pushed, thanks!

>  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);
> 


-- 
Aleksander


More information about the libmbim-devel mailing list