summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--hw/usb-hub.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/usb-hub.c b/hw/usb-hub.c
index 3eb0f1aa0a..5b48763317 100644
--- a/hw/usb-hub.c
+++ b/hw/usb-hub.c
@@ -171,6 +171,8 @@ static void usb_hub_detach(USBPort *port1)
     USBHubState *s = port1->opaque;
     USBHubPort *port = &s->ports[port1->index];
 
+    usb_wakeup(&s->dev);
+
     /* Let upstream know the device on this port is gone */
     s->dev.port->ops->child_detach(s->dev.port, port1->dev);