aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2011-06-05 20:21:52 -0500
committerDan Williams <dcbw@redhat.com>2011-06-05 20:58:13 -0500
commitb122938ab5fb6ff5be1d4575abb0ca81d2885ce3 (patch)
tree000c5147db0201ce8770bd6a821ef73c1ae52d51 /plugins
parentd81fa43c1d721ed123401f4a89fd7b3771ab4463 (diff)
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.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mm-plugin-huawei.c4
-rw-r--r--plugins/mm-plugin-zte.c2
2 files changed, 3 insertions, 3 deletions
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)
{
diff --git a/plugins/mm-plugin-zte.c b/plugins/mm-plugin-zte.c
index 37033e01..9c390a37 100644
--- a/plugins/mm-plugin-zte.c
+++ b/plugins/mm-plugin-zte.c
@@ -66,7 +66,7 @@ custom_init_response_cb (MMPluginBaseSupportsTask *task,
GString *response,
GError *error,
guint32 tries,
- gboolean *out_fail,
+ gboolean *out_stop,
guint32 *out_level,
gpointer user_data)
{