aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-12-01 11:50:04 +0100
committerGerd Hoffmann <kraxel@redhat.com>2011-01-11 17:01:03 +0100
commitac57bbb614ace4f7b8b965562826a7f7fda00cdc (patch)
tree8cd8868362e39b135e2c6492b0c89dc0ed88cb15 /hw
parent34239c7bc972735391ca84283f8c8ad908dc61ef (diff)
usb: hid: remote wakeup support.
Add usb_wakeup() call to the hid driver so remote wakeup actually works. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/usb-hid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/usb-hid.c b/hw/usb-hid.c
index 1c3596025f..60fa57fd9c 100644
--- a/hw/usb-hid.c
+++ b/hw/usb-hid.c
@@ -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,