[PATCH] bearer-mbim: increase disconnect timeout

Dan Williams dcbw at redhat.com
Thu Jul 17 14:10:55 PDT 2014


On Thu, 2014-07-17 at 00:19 -0700, Ben Chan wrote:
> It's been observed that modems may take a long time to disconnect from
> the network under certain network conditions. This patch increases the
> timeout for the MBIM_CID_CONNECT set command in the disconnect sequence
> from 10s to 30s.
> ---
> FWIW, mm-bearer-qmi also uses a 30s timeout for qmi_client_wds_stop_network

Pushed, thanks!

Dan

>  src/mm-bearer-mbim.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/mm-bearer-mbim.c b/src/mm-bearer-mbim.c
> index e4adbb3..358b261 100644
> --- a/src/mm-bearer-mbim.c
> +++ b/src/mm-bearer-mbim.c
> @@ -1054,7 +1054,7 @@ disconnect_context_step (DisconnectContext *ctx)
>  
>          mbim_device_command (ctx->device,
>                               message,
> -                             10,
> +                             30,
>                               NULL,
>                               (GAsyncReadyCallback)disconnect_set_ready,
>                               ctx);




More information about the ModemManager-devel mailing list