aboutsummaryrefslogtreecommitdiff
path: root/hw/usb-hub.c
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@nokia.com>2009-12-03 15:56:06 +0200
committerAurelien Jarno <aurelien@aurel32.net>2009-12-18 23:23:56 +0100
commit659139d780ed6ecfaff4a8a904dab37d179017d1 (patch)
tree6ea0daa9e135f9c926752f807b1b7c0c62fc4977 /hw/usb-hub.c
parentc6703b4761c4df633997a37d52641b20a0b6cf45 (diff)
Make USB hid devices self-powered
Simplifies power budget negotiation. Signed-off-by: Riku Voipio <riku.voipio@nokia.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/usb-hub.c')
-rw-r--r--hw/usb-hub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb-hub.c b/hw/usb-hub.c
index acf7f6072e..1aee7fe5b4 100644
--- a/hw/usb-hub.c
+++ b/hw/usb-hub.c
@@ -113,7 +113,7 @@ static const uint8_t qemu_hub_config_descriptor[] = {
0x01, /* u8 bNumInterfaces; (1) */
0x01, /* u8 bConfigurationValue; */
0x00, /* u8 iConfiguration; */
- 0xc0, /* u8 bmAttributes;
+ 0xe0, /* u8 bmAttributes;
Bit 7: must be set,
6: Self-powered,
5: Remote wakeup,