From: Gerd Hoffmann Date: Wed, 1 Dec 2010 10:50:04 +0000 (+0100) Subject: usb: hid: remote wakeup support. X-Git-Tag: v0.14.0-rc0~102^2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ac57bbb614ace4f7b8b965562826a7f7fda00cdc;p=thirdparty%2Fqemu.git usb: hid: remote wakeup support. Add usb_wakeup() call to the hid driver so remote wakeup actually works. Signed-off-by: Gerd Hoffmann --- diff --git a/hw/usb-hid.c b/hw/usb-hid.c index 1c3596025f3..60fa57fd9c4 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,