aboutsummaryrefslogtreecommitdiff
path: root/src/mm-port-probe-at.c
diff options
context:
space:
mode:
authorDan Williams <dan@ioncontrol.co>2025-03-27 23:44:23 +0000
committerDan Williams <dan@ioncontrol.co>2025-03-27 23:44:23 +0000
commit8d2a91c9207e9f9e0dcffc236d8463f3bfc894ab (patch)
treee91356667d5eec7d8e1fd1f94e1880fd4ff2f9c3 /src/mm-port-probe-at.c
parentb04ca7939260b0167cb8d1466ec949fbf28dccaf (diff)
parentcc93b11db7e438050200094d07a121f709501885 (diff)
Merge request !1240 from 'port-delay'
port-probe: allow per-port ID_MM_TTY_AT_PROBE_TRIES tag for custom number of AT probes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1240
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;
}