提交 4a33a9ea 编写于 作者: G Gerd Hoffmann

usb-hub: wakeup on attach

When attaching a new device we must send a wakeup request to the root
hub, otherwise the guest will not notice the new device in case the
usb hub is suspended.
Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
上级 ff74c5a9
......@@ -163,6 +163,7 @@ static void usb_hub_attach(USBPort *port1)
} else {
port->wPortStatus &= ~PORT_STAT_LOW_SPEED;
}
usb_wakeup(&s->dev);
}
static void usb_hub_detach(USBPort *port1)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册