mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
ff74c5a9a9
commit
4a33a9ea06
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue