[PATCH] mbimcli: increase timeout of device open operation
Aleksander Morgado
aleksander at aleksander.es
Tue Mar 4 10:26:45 PST 2014
On 03/04/14 09:17, Ben Chan wrote:
> A MBIM device typically delays its response to an 'Open' command when it
> has not completed the initialization process. This patch increases the
> timeout of the MBIM device open operation from 15s to 30s to handle
> situations where the device takes much longer to initialize.
> ---
Pushed, thanks.
> src/mbimcli/mbimcli.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mbimcli/mbimcli.c b/src/mbimcli/mbimcli.c
> index d95363d..ea457b3 100644
> --- a/src/mbimcli/mbimcli.c
> +++ b/src/mbimcli/mbimcli.c
> @@ -318,7 +318,7 @@ device_new_ready (GObject *unused,
>
> /* Open the device */
> mbim_device_open (device,
> - 15,
> + 30,
> cancellable,
> (GAsyncReadyCallback) device_open_ready,
> NULL);
>
--
Aleksander
https://aleksander.es
More information about the libmbim-devel
mailing list