summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-10-24 10:11:32 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-10-24 10:11:32 +0200
commit0efa72740f73479428a4a3e0056e04ff013e980f (patch)
treedeabd1795338cfcb9ce7b76c67812361ee9fd39d
parent3f9364078e468ec4984ae0b252fd548a51ab7f0c (diff)
downloadModemManager-0efa72740f73479428a4a3e0056e04ff013e980f.tar.gz
via: plugin has vendor/product string probing, so needs to be sorted last
The flag to get the plugin sorted last allows us to ensure that all plugins without vendor/product string probing (e.g. vendor/product ID probing) are run before. We don't want the Via plugin to start probing e.g. Huawei modems. In git master this flag in the plugin is not needed, it is automatically ordered last if vendor/product ID probing is set in the plugin.
-rw-r--r--plugins/mm-plugin-via.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mm-plugin-via.c b/plugins/mm-plugin-via.c
index 841d8eca9..6135b582b 100644
--- a/plugins/mm-plugin-via.c
+++ b/plugins/mm-plugin-via.c
@@ -30,6 +30,7 @@ mm_plugin_create (void)
{
return MM_PLUGIN (g_object_new (MM_TYPE_PLUGIN_VIA,
MM_PLUGIN_BASE_NAME, "Via CBP7",
+ MM_PLUGIN_BASE_SORT_LAST, TRUE,
NULL));
}