mm-port-probe-at: also check for MM_SERIAL_ERROR_SEND_TIMEOUT

Check here for the new error 'MM_SERIAL_ERROR_SEND_TIMEOUT'.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert
2025-06-02 08:43:45 -05:00
committed by Dan Williams
parent 44b9f74301
commit 6a2cb8dd8e
+4 -1
View File
@@ -47,7 +47,10 @@ mm_port_probe_response_processor_is_at (const gchar *command,
MM_SERIAL_ERROR_RESPONSE_TIMEOUT) ||
g_error_matches (error,
MM_SERIAL_ERROR,
MM_SERIAL_ERROR_SEND_FAILED)) {
MM_SERIAL_ERROR_SEND_FAILED) ||
g_error_matches (error,
MM_SERIAL_ERROR,
MM_SERIAL_ERROR_SEND_TIMEOUT)) {
return FALSE;
}