[PATCH] altair-lte: increase timeout for %APNN, %DPDNACT, and %STATCM
Aleksander Morgado
aleksander at lanedo.com
Mon Aug 26 07:31:12 PDT 2013
On 23/08/13 09:05, Ben Chan wrote:
> ---
> plugins/altair/mm-broadband-bearer-altair-lte.c | 6 +++---
> plugins/altair/mm-broadband-modem-altair-lte.c | 4 ++--
> 2 files changed, 5 insertions(+), 5 deletions(-)
>
Pushed, thanks.
> diff --git a/plugins/altair/mm-broadband-bearer-altair-lte.c b/plugins/altair/mm-broadband-bearer-altair-lte.c
> index 85432b9..ca29b07 100644
> --- a/plugins/altair/mm-broadband-bearer-altair-lte.c
> +++ b/plugins/altair/mm-broadband-bearer-altair-lte.c
> @@ -161,7 +161,7 @@ connect_3gpp_apnsettings_ready (MMBaseModem *modem,
> mm_base_modem_at_command (
> ctx->modem,
> "%DPDNACT=1",
> - 10, /* timeout */
> + 20, /* timeout */
> FALSE, /* allow_cached */
> (GAsyncReadyCallback)connect_3gpp_connect_ready, /* callback */
> ctx); /* user_data */
> @@ -208,7 +208,7 @@ connect_3gpp (MMBroadbandBearer *bearer,
> mm_base_modem_at_command (
> ctx->modem,
> command,
> - 6, /* timeout */
> + 10, /* timeout */
> FALSE, /* allow_cached */
> (GAsyncReadyCallback)connect_3gpp_apnsettings_ready,
> ctx); /* user_data */
> @@ -313,7 +313,7 @@ disconnect_3gpp (MMBroadbandBearer *self,
> mm_base_modem_at_command (
> ctx->modem,
> "%DPDNACT=0",
> - 10, /* timeout */
> + 20, /* timeout */
> FALSE, /* allow_cached */
> (GAsyncReadyCallback)disconnect_3gpp_check_status,
> ctx); /* user_data */
> diff --git a/plugins/altair/mm-broadband-modem-altair-lte.c b/plugins/altair/mm-broadband-modem-altair-lte.c
> index 5260fa2..4e94fd1 100644
> --- a/plugins/altair/mm-broadband-modem-altair-lte.c
> +++ b/plugins/altair/mm-broadband-modem-altair-lte.c
> @@ -706,7 +706,7 @@ parent_enable_unsolicited_events_ready (MMIfaceModem3gpp *self,
> MM_BASE_MODEM (self),
> mm_base_modem_peek_port_primary (MM_BASE_MODEM (self)),
> "%STATCM=1",
> - 6,
> + 10,
> FALSE, /* allow_cached */
> FALSE, /* raw */
> NULL, /* cancellable */
> @@ -798,7 +798,7 @@ modem_3gpp_disable_unsolicited_events (MMIfaceModem3gpp *self,
> MM_BASE_MODEM (self),
> mm_base_modem_peek_port_primary (MM_BASE_MODEM (self)),
> "%STATCM=0",
> - 5,
> + 10,
> FALSE, /* allow_cached */
> FALSE, /* raw */
> NULL, /* cancellable */
>
--
Aleksander
More information about the ModemManager-devel
mailing list