qcdm: don't retry probing if QCDM unescaping fails

But keep the retries when the frame marker isn't found.

https://bugzilla.gnome.org/show_bug.cgi?id=708861
This commit is contained in:
Aleksander Morgado
2014-10-15 18:29:18 +02:00
parent 41b7e7b048
commit f2fa7a7fbf
4 changed files with 12 additions and 6 deletions
+2 -1
View File
@@ -280,7 +280,8 @@ qcdm_verinfo_expect_fail_cb (MMPortSerialQcdm *port,
response = mm_port_serial_qcdm_command_finish (port, res, &error);
g_assert_error (error, MM_CORE_ERROR, MM_CORE_ERROR_FAILED);
/* Expect any kind of error */
g_assert (error != NULL);
g_error_free (error);
g_assert (response == NULL);