aboutsummaryrefslogtreecommitdiff
path: root/src/mm-port-probe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mm-port-probe.c')
-rw-r--r--src/mm-port-probe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mm-port-probe.c b/src/mm-port-probe.c
index 52096678..94e7d3b5 100644
--- a/src/mm-port-probe.c
+++ b/src/mm-port-probe.c
@@ -602,6 +602,9 @@ serial_probe_qcdm_parse_response (MMPortSerialQcdm *port,
is_qcdm = TRUE;
qcdm_result_unref (result);
}
+ } else if (g_error_matches (error, MM_SERIAL_ERROR, MM_SERIAL_ERROR_PARSE_FAILED)) {
+ /* Failed to unescape QCDM packet: don't retry */
+ mm_dbg ("QCDM parsing error: %s", error->message);
} else {
if (!g_error_matches (error, MM_SERIAL_ERROR, MM_SERIAL_ERROR_RESPONSE_TIMEOUT))
mm_dbg ("QCDM probe error: (%d) %s", error->code, error->message);