diff options
author | Michael Biebl <biebl@debian.org> | 2011-06-16 17:12:41 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2014-02-05 08:38:26 +0100 |
commit | 59ed3390b9a798ff8bf9133cbc28c4539ad99f42 (patch) | |
tree | 2009d57abbd0061b4ee230516e004eb83509aac5 /plugins/mm-plugin-samsung.c | |
parent | bbf8a053e07c66f336ed46a7fb6105dc30645596 (diff) | |
parent | 3dbe8df8bfe8741e1b9a48b56e41517816f17dc1 (diff) |
Imported Debian patch 0.4.997-1debian/0.4.997-1
Diffstat (limited to 'plugins/mm-plugin-samsung.c')
-rwxr-xr-x | plugins/mm-plugin-samsung.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/mm-plugin-samsung.c b/plugins/mm-plugin-samsung.c index eb5e071..350d4de 100755 --- a/plugins/mm-plugin-samsung.c +++ b/plugins/mm-plugin-samsung.c @@ -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); |