]> git.proxmox.com Git - qemu.git/commitdiff
usb: hid: remote wakeup support.
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 1 Dec 2010 10:50:04 +0000 (11:50 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 11 Jan 2011 16:01:03 +0000 (17:01 +0100)
Add usb_wakeup() call to the hid driver so remote wakeup actually works.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-hid.c

index 1c3596025f39c90bc02f9c4c9cce646f7c19b976..60fa57fd9c4ab2664a126610b689b3d7cb5fd1c4 100644 (file)
@@ -429,6 +429,8 @@ static void usb_hid_changed(USBHIDState *hs)
 
     if (hs->datain)
         hs->datain(hs->datain_opaque);
+
+    usb_wakeup(&hs->dev);
 }
 
 static void usb_mouse_event(void *opaque,