diff options
Diffstat (limited to 'src/mm-plugin.c')
-rw-r--r-- | src/mm-plugin.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mm-plugin.c b/src/mm-plugin.c index a9ce28b0..ef0453bf 100644 --- a/src/mm-plugin.c +++ b/src/mm-plugin.c @@ -589,9 +589,10 @@ mm_plugin_supports_port (MMPlugin *self, g_udev_device_get_subsystem (port), g_udev_device_get_name (port)); - /* Before launching any probing, check if the port is a net device (which - * cannot be probed). */ - if (g_str_equal (g_udev_device_get_subsystem (port), "net")) { + /* Before launching any probing, check if the port is a net OR a wdm device + * (which cannot be probed). */ + if (g_str_equal (g_udev_device_get_subsystem (port), "net") || + g_str_equal (g_udev_device_get_subsystem (port), "cdc-wdm")) { g_simple_async_result_set_op_res_gpointer ( async_result, GUINT_TO_POINTER (MM_PLUGIN_SUPPORTS_PORT_DEFER_UNTIL_SUGGESTED), |