aboutsummaryrefslogtreecommitdiff
path: root/src/mm-port-probe-at.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mm-port-probe-at.c')
-rw-r--r--src/mm-port-probe-at.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mm-port-probe-at.c b/src/mm-port-probe-at.c
index 37a5ab27..4505fc76 100644
--- a/src/mm-port-probe-at.c
+++ b/src/mm-port-probe-at.c
@@ -44,7 +44,10 @@ mm_port_probe_response_processor_is_at (const gchar *command,
* they will just go on to the next command. */
if (g_error_matches (error,
MM_SERIAL_ERROR,
- MM_SERIAL_ERROR_RESPONSE_TIMEOUT)) {
+ MM_SERIAL_ERROR_RESPONSE_TIMEOUT) ||
+ g_error_matches (error,
+ MM_SERIAL_ERROR,
+ MM_SERIAL_ERROR_SEND_FAILED)) {
return FALSE;
}