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:
committed by
Dan Williams
parent
44b9f74301
commit
6a2cb8dd8e
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user