diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c index f6126107f82e03a846eddca37ee8db59eaeb3d93..080f62c00d7f959e53d5f0f87e22449832458a09 100644 --- a/hw/usb/hcd-ehci.c +++ b/hw/usb/hcd-ehci.c @@ -905,10 +905,11 @@ static void ehci_wakeup(USBPort *port) USBPort *companion = s->companion_ports[port->index]; if (companion->ops->wakeup) { companion->ops->wakeup(companion); - } else { - qemu_bh_schedule(s->async_bh); } + return; } + + qemu_bh_schedule(s->async_bh); } static int ehci_register_companion(USBBus *bus, USBPort *ports[],