diff options
author | Richard Hughes <richard@hughsie.com> | 2014-12-31 16:22:57 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2014-12-31 16:22:57 +0000 |
commit | bc38b4d248fb2811b69985504f446a199242ee88 (patch) | |
tree | 6d96daeda1e9a5018030b8fed9fab692282375fd | |
parent | f052f4c483f14bc30bd9e35f53b8adb0ba1208ee (diff) | |
download | gusb-bc38b4d248fb2811b69985504f446a199242ee88.tar.gz |
Don't filter out hub devices when getting the device list
Sometimes it's the hub we want to enumerate...
-rw-r--r-- | gusb/gusb-context.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gusb/gusb-context.c b/gusb/gusb-context.c index 9b351d3..68668e7 100644 --- a/gusb/gusb-context.c +++ b/gusb/gusb-context.c @@ -318,11 +318,6 @@ g_usb_context_add_device (GUsbContext *context, g_error_free (error); goto out; } - - if (g_usb_device_get_device_class (device) == 0x09) { - g_debug ("%02x:%02x is a hub, ignoring", bus, address); - goto out; - } g_ptr_array_add (priv->devices, g_object_ref (device)); g_usb_context_emit_device_add (context, device); out: |