diff options
author | Brad Hards <bradh@frogmouth.net> | 2011-04-03 15:33:19 +1000 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2011-05-26 11:55:02 +0200 |
commit | add750882f327db813af0795727efe5e4579ca5c (patch) | |
tree | 81367565194098ea827914c74d8f7c2e8fa778dd /hw/usb-wacom.c | |
parent | c6d3ad0fad34b33557976e579ab0e4159989506f (diff) |
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>
Diffstat (limited to 'hw/usb-wacom.c')
-rw-r--r-- | hw/usb-wacom.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/usb-wacom.c b/hw/usb-wacom.c index 16be7a20cf..57041a1b6e 100644 --- a/hw/usb-wacom.c +++ b/hw/usb-wacom.c @@ -108,6 +108,7 @@ static const USBDescDevice desc_device_wacom = { .bConfigurationValue = 1, .bmAttributes = 0x80, .bMaxPower = 40, + .nif = 1, .ifs = &desc_iface_wacom, }, }, |