From c58db4e015c1d6aeccccb167f7f2f68c211a3b86 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 23 Nov 2011 12:36:47 +0100 Subject: core: start using our newly defined errors --- src/mm-port-probe-at-command.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/mm-port-probe-at-command.c') diff --git a/src/mm-port-probe-at-command.c b/src/mm-port-probe-at-command.c index 75ce1e67..824c0948 100644 --- a/src/mm-port-probe-at-command.c +++ b/src/mm-port-probe-at-command.c @@ -20,7 +20,9 @@ #include -#include "mm-errors.h" +#include +#include + #include "mm-port-probe.h" #include "mm-port-probe-at-command.h" @@ -40,7 +42,7 @@ parse_at (const gchar *response, return FALSE; /* Retry */ /* If error is not recognizable, request to abort */ - if (error->domain != MM_MOBILE_ERROR) { + if (error->domain != MM_MOBILE_EQUIPMENT_ERROR) { *result_error = g_error_copy (error); g_prefix_error (result_error, "Couldn't parse AT reply. "); -- cgit v1.2.3-70-g09d2