diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-10-22 13:08:31 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-10-22 13:08:31 +0200 |
commit | c900aa7c0b41be04082f1bdfe6dc7c28e1d41f18 (patch) | |
tree | 1b666424593f671a6009b89c4ca10d0caef059f9 /plugins | |
parent | 2559dc5baffc97afd637172a16c445f544e1d6f3 (diff) |
nokia: run vendor string probing, in order to grab Bluetooth DUN devices
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/nokia/mm-plugin-nokia.c | 14 |
1 files changed, 8 insertions, 6 deletions
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)); } |