From e933fe14130b20785b6ddd2993a8fc982976c7af Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Thu, 25 Jun 2020 18:43:57 +0200 Subject: [PATCH] cinterion: increase SWWAN connection attempt timeout It's critical not to timeout early on devices with AT ports, or we may end up flagging the modem as invalid. ModemManager[26829]: [1593097973.552712] [modem1/ttyACM0/at] --> 'AT^SWWAN=1,2,1' .... ModemManager[26829]: [1593098064.195217] [modem1] couldn't connect bearer: Serial command timed out .... ModemManager[26829]: [1593098091.167987] [modem1] port ttyACM0 timed out 10 consecutive times, marking modem as invalid --- plugins/cinterion/mm-broadband-bearer-cinterion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/cinterion/mm-broadband-bearer-cinterion.c b/plugins/cinterion/mm-broadband-bearer-cinterion.c index e1a06135..ff9d008c 100644 --- a/plugins/cinterion/mm-broadband-bearer-cinterion.c +++ b/plugins/cinterion/mm-broadband-bearer-cinterion.c @@ -433,7 +433,7 @@ dial_3gpp_context_step (GTask *task) mm_base_modem_at_command_full (ctx->modem, ctx->primary, command, - 90, + 180, FALSE, FALSE, NULL,