aboutsummaryrefslogtreecommitdiff
path: root/plugins/cinterion/mm-broadband-modem-cinterion.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2014-02-27 16:23:12 +0100
committerAleksander Morgado <aleksander@aleksander.es>2014-02-28 16:37:49 +0100
commit019d038c17f9d633379ab29b9fb7ea15bc0f3fab (patch)
tree03a68d9244b8bad0125f4b296c2ea29316eab22e /plugins/cinterion/mm-broadband-modem-cinterion.c
parentf2024b78b297079c61f51d1a7f6cd73611bc7de2 (diff)
cinterion: force band preference update to be applied immediately
Diffstat (limited to 'plugins/cinterion/mm-broadband-modem-cinterion.c')
-rw-r--r--plugins/cinterion/mm-broadband-modem-cinterion.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/cinterion/mm-broadband-modem-cinterion.c b/plugins/cinterion/mm-broadband-modem-cinterion.c
index 99ca8d70..5efdbf0c 100644
--- a/plugins/cinterion/mm-broadband-modem-cinterion.c
+++ b/plugins/cinterion/mm-broadband-modem-cinterion.c
@@ -1084,8 +1084,11 @@ set_bands_3g (MMIfaceModem *_self,
* We will set the preferred band equal to the allowed band, so that we force
* the modem to connect at that specific frequency only. Note that we will be
* passing a number here!
+ *
+ * The optional <rbe> field is set to 1, so that changes take effect
+ * immediately.
*/
- cmd = g_strdup_printf ("^SCFG=\"Radio/Band\",%u", band);
+ cmd = g_strdup_printf ("^SCFG=\"Radio/Band\",%u,1", band);
mm_base_modem_at_command (MM_BASE_MODEM (self),
cmd,
15,