aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mm-qcdm-serial-port.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mm-qcdm-serial-port.c b/src/mm-qcdm-serial-port.c
index e2ca156e..a370fd06 100644
--- a/src/mm-qcdm-serial-port.c
+++ b/src/mm-qcdm-serial-port.c
@@ -83,7 +83,9 @@ handle_response (MMSerialPort *port,
&used,
&more);
if (!success) {
- g_set_error_literal (&dm_error, 0, 0, "Failed to unescape QCDM packet.");
+ g_set_error_literal (&dm_error,
+ MM_MODEM_ERROR, MM_MODEM_ERROR_GENERAL,
+ "Failed to unescape QCDM packet.");
g_byte_array_free (unescaped, TRUE);
unescaped = NULL;
} else if (more) {