chiark / gitweb /
[PATCH] add support for usb interfaces to wait_for_sysfs to keep it quiet.
[elogind.git] / wait_for_sysfs.c
index 6275db23b1ee3bb14c96702231b2deb86fbe638e..28ff43bdb5370dc07179bcba4751523269e0d1c0 100644 (file)
@@ -174,6 +174,7 @@ static int wait_for_bus_device(struct sysfs_device *device_dev)
                { .bus = "scsi",        .file = "vendor" },
                { .bus = "usb",         .file = "idVendor" },
                { .bus = "usb",         .file = "iInterface" },
+               { .bus = "usb",         .file = "bNumEndpoints" },
                { .bus = "usb-serial",  .file = "detach_state" },
                { .bus = "ide",         .file = "detach_state" },
                { .bus = "pci",         .file = "vendor" },