Revision 67f36560 hw/usb-hub.c

b/hw/usb-hub.c
152 152

  
153 153
static const uint8_t qemu_hub_hub_descriptor[] =
154 154
{
155
	0x09,			/*  u8  bLength; */
155
	0x00,			/*  u8  bLength; patched in later */
156 156
	0x29,			/*  u8  bDescriptorType; Hub-descriptor */
157 157
	0x00,			/*  u8  bNbrPorts; (patched later) */
158 158
	0x0a,			/* u16  wHubCharacteristics; */
......
417 417
            }
418 418

  
419 419
            ret = sizeof(qemu_hub_hub_descriptor) + var_hub_size;
420
            data[0] = ret;
420 421
            break;
421 422
        }
422 423
    default:

Also available in: Unified diff