diff options
Diffstat (limited to 'hw/usb-bus.c')
-rw-r--r-- | hw/usb-bus.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/usb-bus.c b/hw/usb-bus.c index 9dc8793..e94b88d 100644 --- a/hw/usb-bus.c +++ b/hw/usb-bus.c @@ -113,7 +113,7 @@ USBDevice *usb_create_simple(USBBus *bus, const char *name) } void usb_register_port(USBBus *bus, USBPort *port, void *opaque, int index, - USBDevice *pdev, USBPortOps *ops) + USBDevice *pdev, USBPortOps *ops, int speedmask) { port->opaque = opaque; port->index = index; @@ -121,6 +121,7 @@ void usb_register_port(USBBus *bus, USBPort *port, void *opaque, int index, port->opaque = opaque; port->index = index; port->ops = ops; + port->speedmask = speedmask; QTAILQ_INSERT_TAIL(&bus->free, port, next); bus->nfree++; } |