aboutsummaryrefslogtreecommitdiff
path: root/usb-bsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'usb-bsd.c')
-rw-r--r--usb-bsd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usb-bsd.c b/usb-bsd.c
index c1bcc4a1da..3b97eb491b 100644
--- a/usb-bsd.c
+++ b/usb-bsd.c
@@ -367,8 +367,10 @@ USBDevice *usb_host_device_open(const char *devname)
if (dev_info.udi_speed == 1) {
dev->dev.speed = USB_SPEED_LOW - 1;
+ dev->dev.speedmask = USB_SPEED_MASK_LOW;
} else {
dev->dev.speed = USB_SPEED_FULL - 1;
+ dev->dev.speedmask = USB_SPEED_MASK_FULL;
}
if (strncmp(dev_info.udi_product, "product", 7) != 0) {