aboutsummaryrefslogtreecommitdiff
path: root/plugins/mm-modem-zte.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2010-04-24 23:44:35 -0700
committerDan Williams <dcbw@redhat.com>2010-04-24 23:44:35 -0700
commita4c094c340e0c93149a4e9042db4a88f9800467f (patch)
treed4e1d0ff8f64aa7df174868119fda3f0c0c4e761 /plugins/mm-modem-zte.c
parentb9bb12a01e0fd0251475622cf2adc3ca04ba7bd0 (diff)
core: fix serial error #defines
Should have ERROR in them.
Diffstat (limited to 'plugins/mm-modem-zte.c')
-rw-r--r--plugins/mm-modem-zte.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mm-modem-zte.c b/plugins/mm-modem-zte.c
index 52746ac1..e837192a 100644
--- a/plugins/mm-modem-zte.c
+++ b/plugins/mm-modem-zte.c
@@ -371,7 +371,7 @@ pre_init_done (MMAtSerialPort *port,
if (error) {
/* Retry the init string one more time; the modem sometimes throws it away */
if ( !priv->init_retried
- && g_error_matches (error, MM_SERIAL_ERROR, MM_SERIAL_RESPONSE_TIMEOUT)) {
+ && g_error_matches (error, MM_SERIAL_ERROR, MM_SERIAL_ERROR_RESPONSE_TIMEOUT)) {
priv->init_retried = TRUE;
enable_flash_done (MM_SERIAL_PORT (port), NULL, user_data);
} else