usb: move remote wakeup handling to common code
commited5a83ddd8c1d8ec7b1015315530cf29949e7c48
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 30 Nov 2010 16:35:34 +0000 (30 17:35 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 11 Jan 2011 14:56:01 +0000 (11 15:56 +0100)
tree6c78080c354298840f92b088ec866ed90147fb0e
parenta980a065fb5e86d6dec337e6cb6ff432f1a143c9
usb: move remote wakeup handling to common code

This patch moves setting and clearing the remote_wakeup feature
bit (via USB_REQ_{SET,CLEAR}_FEATURE) to common code.  Also
USB_REQ_GET_STATUS handling is moved to common code.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-bt.c
hw/usb-desc.c
hw/usb-hid.c
hw/usb-hub.c
hw/usb-msd.c
hw/usb-net.c
hw/usb-serial.c
hw/usb-wacom.c
trace-events