aboutsummaryrefslogtreecommitdiff
path: root/src/mm-port-probe-at.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-07-21 18:01:02 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-08-06 20:07:27 +0200
commit0b3eb27856462e232f54762a3ba496bf36e25775 (patch)
tree6e95a4bee529c399ab2714995ed14b76c70da519 /src/mm-port-probe-at.c
parent5b96aa9db4899d6c217b7ba5596e1dd64ca8f931 (diff)
port-probe: include Icera support check in the probing sequence
Diffstat (limited to 'src/mm-port-probe-at.c')
-rw-r--r--src/mm-port-probe-at.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/mm-port-probe-at.c b/src/mm-port-probe-at.c
index ba9e30cc..fb20a74d 100644
--- a/src/mm-port-probe-at.c
+++ b/src/mm-port-probe-at.c
@@ -91,3 +91,22 @@ mm_port_probe_response_processor_string (const gchar *command,
return TRUE;
}
+
+/* ---- Other ---- */
+
+gboolean
+mm_port_probe_response_processor_no_error (const gchar *command,
+ const gchar *response,
+ gboolean last_command,
+ const GError *error,
+ GVariant **result,
+ GError **result_error)
+{
+ if (error) {
+ *result = g_variant_new_boolean (FALSE);
+ return TRUE;
+ }
+
+ *result = g_variant_new_boolean (TRUE);
+ return TRUE;
+}