aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-08-28 17:34:47 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-08-28 17:34:47 +0200
commitab67c0b7c363198078c49b6003c4a2cbdffa6694 (patch)
tree9608f4f5f7417e65116d1275bde66d6e50b35bd0
parentae9e2df294faf2a6469db1223bb0ab7955be633c (diff)
cinterion: update AT command timeout when setting bands to 15s
Seems the reply to the command is received once the change has been done, so it may take longer than the previous default of 3s.
-rw-r--r--plugins/cinterion/mm-broadband-modem-cinterion.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/cinterion/mm-broadband-modem-cinterion.c b/plugins/cinterion/mm-broadband-modem-cinterion.c
index 09cf7a47..1825f6a4 100644
--- a/plugins/cinterion/mm-broadband-modem-cinterion.c
+++ b/plugins/cinterion/mm-broadband-modem-cinterion.c
@@ -967,7 +967,7 @@ set_bands_3g (MMIfaceModem *self,
cmd = g_strdup_printf ("^SCFG=\"Radio/Band\",%u", cinterion_band);
mm_base_modem_at_command (MM_BASE_MODEM (self),
cmd,
- 3,
+ 15,
FALSE,
(GAsyncReadyCallback)scfg_set_ready,
result);
@@ -1063,7 +1063,7 @@ set_bands_2g (MMIfaceModem *self,
mm_base_modem_at_command (MM_BASE_MODEM (self),
cmd,
- 3,
+ 15,
FALSE,
(GAsyncReadyCallback)scfg_set_ready,
result);