diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2013-05-27 15:45:03 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2013-05-27 20:09:10 +0200 |
commit | 05ac6b6cf1567ced672f913e1c5a91580982d1b6 (patch) | |
tree | 9ff29db814dba87c24bbb334a496bcc69841ae1b | |
parent | e134a81a87ff8bc4e43393b99d14a6bac88dc67a (diff) |
wavecom: don't grab ports handled by the qcserial driver
Sierra Wireless will assign the Wavecom USB vendor ID to some Gobi-based modems,
like the MC7750. Just ignore those by filtering out all devices with the Wavecom
USB vendor ID if they are handled by the qcserial driver.
-rw-r--r-- | plugins/wavecom/mm-plugin-wavecom.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/wavecom/mm-plugin-wavecom.c b/plugins/wavecom/mm-plugin-wavecom.c index 80b6ed71..39fa27a7 100644 --- a/plugins/wavecom/mm-plugin-wavecom.c +++ b/plugins/wavecom/mm-plugin-wavecom.c @@ -61,12 +61,14 @@ mm_plugin_create (void) { static const gchar *subsystems[] = { "tty", NULL }; static const guint16 vendor_ids[] = { 0x114f, 0 }; + static const gchar *forbidden_drivers[] = { "qcserial", NULL }; return MM_PLUGIN ( g_object_new (MM_TYPE_PLUGIN_WAVECOM, MM_PLUGIN_NAME, "Wavecom", MM_PLUGIN_ALLOWED_SUBSYSTEMS, subsystems, MM_PLUGIN_ALLOWED_VENDOR_IDS, vendor_ids, + MM_PLUGIN_FORBIDDEN_DRIVERS, forbidden_drivers, MM_PLUGIN_ALLOWED_AT, TRUE, NULL)); } |