[PATCH] broadband-modem-mbim: increase timeout for powering modem up and down

Dan Williams dcbw at redhat.com
Thu Jul 17 14:09:59 PDT 2014


On Thu, 2014-07-17 at 00:19 -0700, Ben Chan wrote:
> It's been observed that some modems occasionally take a long time to
> power down (which may be due to some shutdown sequence that involves
> communicating with network). This patch increases the timeout for
> powering modem up and down from 10s to 20s.
> ---
> FWIW, mm-broadband-modem-qmi also uses a 20s timeout for qmi_message_dms_set_operating_mode.

Pushed, thanks.

Dan

>  src/mm-broadband-modem-mbim.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/mm-broadband-modem-mbim.c b/src/mm-broadband-modem-mbim.c
> index b2f9deb..37dd0a2 100644
> --- a/src/mm-broadband-modem-mbim.c
> +++ b/src/mm-broadband-modem-mbim.c
> @@ -1036,7 +1036,7 @@ common_power_up_down (MMIfaceModem *self,
>      message = mbim_message_radio_state_set_new (state, NULL);
>      mbim_device_command (device,
>                           message,
> -                         10,
> +                         20,
>                           NULL,
>                           ready_cb,
>                           result);




More information about the ModemManager-devel mailing list