From b122938ab5fb6ff5be1d4575abb0ca81d2885ce3 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Sun, 5 Jun 2011 20:21:52 -0500 Subject: core: allow plugins to stop probing and not support a modem Previously plugins could only stop probing, *or* stop probing and indicate support for a device. For the Alcatel X200/X060s debacle we need to stop probing and indicate that the plugin does not support the device at all. --- plugins/mm-plugin-huawei.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/mm-plugin-huawei.c') diff --git a/plugins/mm-plugin-huawei.c b/plugins/mm-plugin-huawei.c index 32edfde7..aef3c524 100644 --- a/plugins/mm-plugin-huawei.c +++ b/plugins/mm-plugin-huawei.c @@ -79,7 +79,7 @@ getportmode_response_cb (MMPluginBaseSupportsTask *task, GString *response, GError *error, guint32 tries, - gboolean *out_fail, + gboolean *out_stop, guint32 *out_level, gpointer user_data) { @@ -116,7 +116,7 @@ curc_response_cb (MMPluginBaseSupportsTask *task, GString *response, GError *error, guint32 tries, - gboolean *out_fail, + gboolean *out_stop, guint32 *out_level, gpointer user_data) { -- cgit v1.2.3-70-g09d2