commit | 6aa35675bbc370e5f11baae7e01a9ab255d8030c | [log] [tgz] |
---|---|---|
author | Alan Stern <stern@rowland.harvard.edu> | Wed Mar 08 15:14:09 2006 -0500 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Mar 20 14:50:01 2006 -0800 |
tree | f42b4adac70483f90bcb3c4de9c4d5db964cf43a | |
parent | 11a223ae3b86b94391774512e5671600367a305c [diff] |
[PATCH] USB: usbcore: Don't assume a USB configuration includes any interfaces In a couple of places, usbcore assumes that a USB device configuration will have a nonzero number of interfaces. Having no interfaces may or may not be allowed by the USB spec; in any event we shouldn't die if we encounter such a thing. This patch (as662) removes the assumptions. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>