aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-06-25 18:43:57 +0200
committerAleksander Morgado <aleksander@aleksander.es>2020-07-06 16:23:36 +0200
commite933fe14130b20785b6ddd2993a8fc982976c7af (patch)
treee340a983deba40bb87e4dfa1da1da09fc5cd6416
parentbdbd0fc049f7e818b8ac29285bcbf187d9a0b8ed (diff)
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]: <debug> [1593097973.552712] [modem1/ttyACM0/at] --> 'AT^SWWAN=1,2,1<CR>' .... ModemManager[26829]: <debug> [1593098064.195217] [modem1] couldn't connect bearer: Serial command timed out .... ModemManager[26829]: <error> [1593098091.167987] [modem1] port ttyACM0 timed out 10 consecutive times, marking modem as invalid
-rw-r--r--plugins/cinterion/mm-broadband-bearer-cinterion.c2
1 files changed, 1 insertions, 1 deletions
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,