From ab67c0b7c363198078c49b6003c4a2cbdffa6694 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 28 Aug 2012 17:34:47 +0200 Subject: [PATCH] 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. --- plugins/cinterion/mm-broadband-modem-cinterion.c | 4 ++-- 1 file 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);