Re: [MM] [PATCH] broadband-modem: increase timeout for ATZ
- From: Aleksander Morgado <aleksander lanedo com>
- To: Ben Chan <benchan chromium org>
- Cc: networkmanager-list gnome org
- Subject: Re: [MM] [PATCH] broadband-modem: increase timeout for ATZ
- Date: Sat, 22 Sep 2012 14:59:08 +0200
On 22/09/12 09:03, Ben Chan wrote:
> Some modem like Novatel LTE can take up to 5 seconds to complete the ATZ
> command. Increase the timeout for ATZ from 3 seconds to 6 seconds.
Pushed; thanks.
> ---
> src/mm-broadband-modem.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mm-broadband-modem.c b/src/mm-broadband-modem.c
> index 4a2fdb8..10100c8 100644
> --- a/src/mm-broadband-modem.c
> +++ b/src/mm-broadband-modem.c
> @@ -2295,7 +2295,7 @@ static const MMBaseModemAtCommand modem_init_sequence[] = {
> * after the Z command because such commands may be ignored.
> * So run ATZ alone.
> */
> - { "Z", 3, FALSE, mm_base_modem_response_processor_no_result_continue },
> + { "Z", 6, FALSE, mm_base_modem_response_processor_no_result_continue },
>
> /* Ensure echo is off after the init command */
> { "E0 V1", 3, FALSE, NULL },
>
--
Aleksander
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]