diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-26 23:01:07 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-26 23:01:50 +0200 |
commit | a1d6667df93703b3a15bca0388192680aa54027c (patch) | |
tree | 025839022af94ccbbc968c15dafe9f42e07e8c82 | |
parent | 0436b3e45753a166fea18d6c1463aef5a38fd1ee (diff) |
novatel: don't claim the Novatel E362, should be handled by `novatel-lte'
-rw-r--r-- | plugins/novatel/mm-plugin-novatel.c | 15 |
1 files 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)); } |