From a1d6667df93703b3a15bca0388192680aa54027c Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Sun, 26 Aug 2012 23:01:07 +0200 Subject: [PATCH] novatel: don't claim the Novatel E362, should be handled by `novatel-lte' --- plugins/novatel/mm-plugin-novatel.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/plugins/novatel/mm-plugin-novatel.c b/plugins/novatel/mm-plugin-novatel.c index 059ca7e8..a1ee0819 100644 --- a/plugins/novatel/mm-plugin-novatel.c +++ b/plugins/novatel/mm-plugin-novatel.c @@ -59,16 +59,19 @@ mm_plugin_create (void) static const guint16 vendors[] = { 0x1410, /* Novatel */ 0x413c, /* Dell */ 0 }; + static const mm_uint16_pair forbidden_products[] = { { 0x1410, 0x9010 }, /* Novatel E362 */ + {0, 0} }; static const gchar *drivers[] = { "option1", "option", NULL }; return MM_PLUGIN ( g_object_new (MM_TYPE_PLUGIN_NOVATEL, - MM_PLUGIN_NAME, "Novatel", - MM_PLUGIN_ALLOWED_SUBSYSTEMS, subsystems, - MM_PLUGIN_ALLOWED_DRIVERS, drivers, - MM_PLUGIN_ALLOWED_VENDOR_IDS, vendors, - MM_PLUGIN_ALLOWED_AT, TRUE, - MM_PLUGIN_ALLOWED_QCDM, TRUE, + MM_PLUGIN_NAME, "Novatel", + MM_PLUGIN_ALLOWED_SUBSYSTEMS, subsystems, + MM_PLUGIN_ALLOWED_DRIVERS, drivers, + MM_PLUGIN_ALLOWED_VENDOR_IDS, vendors, + MM_PLUGIN_FORBIDDEN_PRODUCT_IDS, forbidden_products, + MM_PLUGIN_ALLOWED_AT, TRUE, + MM_PLUGIN_ALLOWED_QCDM, TRUE, NULL)); }