summaryrefslogtreecommitdiff
path: root/hw/usb/host-bsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/usb/host-bsd.c')
-rw-r--r--hw/usb/host-bsd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/usb/host-bsd.c b/hw/usb/host-bsd.c
index 6473e8b747..dae0009378 100644
--- a/hw/usb/host-bsd.c
+++ b/hw/usb/host-bsd.c
@@ -292,6 +292,7 @@ static void usb_host_handle_destroy(USBDevice *opaque)
static int usb_host_initfn(USBDevice *dev)
{
+ dev->flags |= (1 << USB_DEV_FLAG_IS_HOST);
return 0;
}