aboutsummaryrefslogtreecommitdiff
path: root/src/mm-port-probe-at-command.c
diff options
context:
space:
mode:
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. ");