From 425c28dfc1d24126feab432609f2c525069d577e Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 6 May 2010 15:28:43 -0700 Subject: [PATCH] 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. --- plugins/mm-plugin-longcheer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) {