mirror of
https://github.com/mii443/qemu.git
synced 2025-12-09 14:08:32 +00:00
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>
This commit is contained in:
committed by
Gerd Hoffmann
parent
c6d3ad0fad
commit
add750882f
@@ -119,6 +119,7 @@ static const USBDescDevice desc_device_hub = {
|
||||
.bNumInterfaces = 1,
|
||||
.bConfigurationValue = 1,
|
||||
.bmAttributes = 0xe0,
|
||||
.nif = 1,
|
||||
.ifs = &desc_iface_hub,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user