nokia: run vendor string probing, in order to grab Bluetooth DUN devices

This commit is contained in:
Aleksander Morgado
2012-10-22 13:08:31 +02:00
parent 2559dc5baf
commit c900aa7c0b

View File

@@ -65,15 +65,17 @@ mm_plugin_create (void)
{ {
static const gchar *subsystems[] = { "tty", NULL }; static const gchar *subsystems[] = { "tty", NULL };
static const guint16 vendor_ids[] = { 0x0421, 0 }; static const guint16 vendor_ids[] = { 0x0421, 0 };
static const gchar *vendor_strings[] = { "nokia", NULL };
return MM_PLUGIN ( return MM_PLUGIN (
g_object_new (MM_TYPE_PLUGIN_NOKIA, g_object_new (MM_TYPE_PLUGIN_NOKIA,
MM_PLUGIN_NAME, "Nokia", MM_PLUGIN_NAME, "Nokia",
MM_PLUGIN_ALLOWED_SUBSYSTEMS, subsystems, MM_PLUGIN_ALLOWED_SUBSYSTEMS, subsystems,
MM_PLUGIN_ALLOWED_VENDOR_IDS, vendor_ids, MM_PLUGIN_ALLOWED_VENDOR_IDS, vendor_ids,
MM_PLUGIN_CUSTOM_AT_PROBE, custom_at_probe, MM_PLUGIN_ALLOWED_VENDOR_STRINGS, vendor_strings,
MM_PLUGIN_ALLOWED_SINGLE_AT, TRUE, /* only 1 AT port expected! */ MM_PLUGIN_CUSTOM_AT_PROBE, custom_at_probe,
MM_PLUGIN_FORBIDDEN_ICERA, TRUE, /* No Nokia/Icera modems */ MM_PLUGIN_ALLOWED_SINGLE_AT, TRUE, /* only 1 AT port expected! */
MM_PLUGIN_FORBIDDEN_ICERA, TRUE, /* No Nokia/Icera modems */
NULL)); NULL));
} }