From c900aa7c0b41be04082f1bdfe6dc7c28e1d41f18 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 22 Oct 2012 13:08:31 +0200 Subject: nokia: run vendor string probing, in order to grab Bluetooth DUN devices --- plugins/nokia/mm-plugin-nokia.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'plugins/nokia/mm-plugin-nokia.c') diff --git a/plugins/nokia/mm-plugin-nokia.c b/plugins/nokia/mm-plugin-nokia.c index 3a767737..da8187d9 100644 --- a/plugins/nokia/mm-plugin-nokia.c +++ b/plugins/nokia/mm-plugin-nokia.c @@ -65,15 +65,17 @@ mm_plugin_create (void) { static const gchar *subsystems[] = { "tty", NULL }; static const guint16 vendor_ids[] = { 0x0421, 0 }; + static const gchar *vendor_strings[] = { "nokia", NULL }; return MM_PLUGIN ( g_object_new (MM_TYPE_PLUGIN_NOKIA, - MM_PLUGIN_NAME, "Nokia", - MM_PLUGIN_ALLOWED_SUBSYSTEMS, subsystems, - MM_PLUGIN_ALLOWED_VENDOR_IDS, vendor_ids, - MM_PLUGIN_CUSTOM_AT_PROBE, custom_at_probe, - MM_PLUGIN_ALLOWED_SINGLE_AT, TRUE, /* only 1 AT port expected! */ - MM_PLUGIN_FORBIDDEN_ICERA, TRUE, /* No Nokia/Icera modems */ + MM_PLUGIN_NAME, "Nokia", + MM_PLUGIN_ALLOWED_SUBSYSTEMS, subsystems, + MM_PLUGIN_ALLOWED_VENDOR_IDS, vendor_ids, + MM_PLUGIN_ALLOWED_VENDOR_STRINGS, vendor_strings, + MM_PLUGIN_CUSTOM_AT_PROBE, custom_at_probe, + MM_PLUGIN_ALLOWED_SINGLE_AT, TRUE, /* only 1 AT port expected! */ + MM_PLUGIN_FORBIDDEN_ICERA, TRUE, /* No Nokia/Icera modems */ NULL)); } -- cgit v1.2.3-70-g09d2