diff options
author | Ben Chan <benchan@chromium.org> | 2012-09-22 00:03:43 -0700 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-09-22 14:55:50 +0200 |
commit | 717b16b5b6cbca628f48791c9ea35075f393fe68 (patch) | |
tree | d63748cbe4a94e8d5810d8922cf29d0de306f11f | |
parent | e60207d6ab6ebe56d702924a8fcbe966e60196a7 (diff) |
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.
-rw-r--r-- | src/mm-broadband-modem.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 }, |