aboutsummaryrefslogtreecommitdiff
path: root/src/mm-port-probe-at-command.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2011-11-23 12:36:47 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:14:25 +0100
commitc58db4e015c1d6aeccccb167f7f2f68c211a3b86 (patch)
treefa5cdffcd6856ba236b8614349b1ee5714885242 /src/mm-port-probe-at-command.c
parente4d8c4ace72e72c53951f80792d852ff4b043329 (diff)
core: start using our newly defined errors
Diffstat (limited to 'src/mm-port-probe-at-command.c')
-rw-r--r--src/mm-port-probe-at-command.c6
1 files changed, 4 insertions, 2 deletions
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 <glib.h>
-#include "mm-errors.h"
+#include <ModemManager.h>
+#include <mm-errors-types.h>
+
#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. ");