aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2010-05-06 15:28:43 -0700
committerDan Williams <dcbw@redhat.com>2010-05-06 15:28:43 -0700
commit425c28dfc1d24126feab432609f2c525069d577e (patch)
tree78212ad7fdec115c939007d24a01610b08d6d6b4
parent246817fe546490df8e6f5e4e85cc93e01927bda4 (diff)
longcheer: handle TAMobile/Alcatel X060s vendor ID too
These are Longcheer-based devices, but the vendor ID is different. We had tagged the X060s' ports in the rules but never updated the plugin to handle the different vendor ID.
-rw-r--r--plugins/mm-plugin-longcheer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mm-plugin-longcheer.c b/plugins/mm-plugin-longcheer.c
index b8b5b2ab..dbbe186f 100644
--- a/plugins/mm-plugin-longcheer.c
+++ b/plugins/mm-plugin-longcheer.c
@@ -83,7 +83,8 @@ supports_port (MMPluginBase *base,
if (!mm_plugin_base_get_device_ids (base, subsys, name, &vendor, NULL))
return MM_PLUGIN_SUPPORTS_PORT_UNSUPPORTED;
- if (vendor != 0x1c9e)
+ /* Longcheer and TAMobile */
+ if (vendor != 0x1c9e && vendor != 0x1bbb)
return MM_PLUGIN_SUPPORTS_PORT_UNSUPPORTED;
if (mm_plugin_base_get_cached_port_capabilities (base, port, &cached)) {