Subject: [MM] [PATCH] 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(-)

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 },
--
1.7.12

_______________________________________________
networkmanager-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/networkmanager-list



Programming list archiving by: Enterprise Git Hosting