diff options
author | Giacinto Cifelli <gciofono@gmail.com> | 2020-05-28 05:28:32 +0200 |
---|---|---|
committer | Giacinto Cifelli <gciofono@gmail.com> | 2020-05-28 05:30:08 +0200 |
commit | df36f8d2d3fc34bd4c95ad97587d7cad04c6a9df (patch) | |
tree | dc6e1235521e7e95a598d9c20bda9de25d551485 | |
parent | 3efe127aa881a0be3595665cb3f0a38819b37626 (diff) |
cinterion: fix syntax error for setting radio/bands/[23]g
-rw-r--r-- | plugins/cinterion/mm-broadband-modem-cinterion.c | 4 |
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 966f284a..99875210 100644 --- a/plugins/cinterion/mm-broadband-modem-cinterion.c +++ b/plugins/cinterion/mm-broadband-modem-cinterion.c @@ -1377,8 +1377,8 @@ set_bands_3g (GTask *task, self->priv->cmds[0].timeout = self->priv->cmds[1].timeout = self->priv->cmds[2].timeout = 60; } else { self->priv->cmds = g_new0 (MMBaseModemAtCommandAlloc, 3 + 1); - self->priv->cmds[0].command = g_strdup_printf ("^SCFG=\"Radio/Band/2G\",\"%08x\",1", band[MM_CINTERION_RB_BLOCK_GSM]); - self->priv->cmds[1].command = g_strdup_printf ("^SCFG=\"Radio/Band/3G\",\"%08x\",1", band[MM_CINTERION_RB_BLOCK_UMTS]); + self->priv->cmds[0].command = g_strdup_printf ("^SCFG=\"Radio/Band/2G\",\"%08x\",,1", band[MM_CINTERION_RB_BLOCK_GSM]); + self->priv->cmds[1].command = g_strdup_printf ("^SCFG=\"Radio/Band/3G\",\"%08x\",,1", band[MM_CINTERION_RB_BLOCK_UMTS]); self->priv->cmds[2].command = g_strdup_printf ("^SCFG=\"Radio/Band/4G\",\"%08x\",\"%08x\",1", band[MM_CINTERION_RB_BLOCK_LTE_LOW], band[MM_CINTERION_RB_BLOCK_LTE_HIGH]); self->priv->cmds[0].timeout = self->priv->cmds[1].timeout = self->priv->cmds[2].timeout = 15; } |