From 717b16b5b6cbca628f48791c9ea35075f393fe68 Mon Sep 17 00:00:00 2001 From: Ben Chan Date: Sat, 22 Sep 2012 00:03:43 -0700 Subject: broadband-modem: increase timeout for ATZ 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. --- src/mm-broadband-modem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mm-broadband-modem.c b/src/mm-broadband-modem.c index 64df821d..80cc4225 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 }, -- cgit v1.2.3-70-g09d2