usb: update config descriptors to identify number of interfaces
commitadd750882f327db813af0795727efe5e4579ca5c
authorBrad Hards <bradh@frogmouth.net>
Sun, 3 Apr 2011 05:33:19 +0000 (3 15:33 +1000)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 26 May 2011 09:55:02 +0000 (26 11:55 +0200)
tree81367565194098ea827914c74d8f7c2e8fa778dd
parentc6d3ad0fad34b33557976e579ab0e4159989506f
usb: update config descriptors to identify number of interfaces

Previously we relied on the .bNumInterfaces, but that won't always be
accurate after the introduction of grouped interfaces.

Signed-off-by: Brad Hards <bradh@frogmouth.net>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-hid.c
hw/usb-hub.c
hw/usb-msd.c
hw/usb-serial.c
hw/usb-wacom.c