samsung: lock plugin to Y3300 to exclude other Samsung USB modems

Like the SGH-Z810/SCH-U209 which are a different chipset, don't
have pseudo-ethernet ports, and just wouldn't work with this
plugin.
This commit is contained in:
Dan Williams
2011-05-02 18:35:50 -05:00
parent 863dbca631
commit 82cee08875
+4
View File
@@ -83,6 +83,10 @@ supports_port (MMPluginBase *base,
if (vendor != 0x04e8 && vendor != 0x1983)
return MM_PLUGIN_SUPPORTS_PORT_UNSUPPORTED;
/* Product ID check */
if (product != 0x6872)
return MM_PLUGIN_SUPPORTS_PORT_UNSUPPORTED;
/* The ethernet ports are obviously supported and don't need probing */
if (!strcmp (subsys, "net")) {
mm_plugin_base_supports_task_complete (task, 10);