aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2019-12-05 15:44:21 +0100
committerAleksander Morgado <aleksander@aleksander.es>2019-12-05 15:45:38 +0100
commit8d96d1d6604bbe9dd010912f9f23d7db73de0561 (patch)
treee9cb8272e401e09f6c129ea5861c3fb40fc5b749
parent5f0f2cb9d97b28f873a521128393532c8524d054 (diff)
cinterion: fix using correct finish() method in AT command
When using mm_base_modem_at_command_full(), the corresponding mm_base_modem_at_command_full_finish() should be used.
-rw-r--r--plugins/cinterion/mm-shared-cinterion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/cinterion/mm-shared-cinterion.c b/plugins/cinterion/mm-shared-cinterion.c
index 23f3fe15..d1cc7db4 100644
--- a/plugins/cinterion/mm-shared-cinterion.c
+++ b/plugins/cinterion/mm-shared-cinterion.c
@@ -877,7 +877,7 @@ slcc_command_ready (MMBaseModem *self,
ctx = g_task_get_task_data (task);
- if (!mm_base_modem_at_command_finish (self, res, &error)) {
+ if (!mm_base_modem_at_command_full_finish (self, res, &error)) {
mm_dbg ("Couldn't %s ^SLCC reporting: '%s'",
ctx->enable ? "enable" : "disable",
error->message);