aboutsummaryrefslogtreecommitdiff
path: root/hw/usb/hcd-ehci-sysbus.c
diff options
context:
space:
mode:
authorLadi Prosek <lprosek@redhat.com>2017-05-22 14:33:25 +0200
committerGerd Hoffmann <kraxel@redhat.com>2017-05-29 14:17:59 +0200
commit6361bbc7e21f822823e015e5ccb50d4ac1745b1b (patch)
treed09281dbe15796251bbee565696e5efd0880f7e7 /hw/usb/hcd-ehci-sysbus.c
parent2da077a881894c0b18032153c709d95ac89492c6 (diff)
downloadqemu-6361bbc7e21f822823e015e5ccb50d4ac1745b1b.zip
qemu-6361bbc7e21f822823e015e5ccb50d4ac1745b1b.tar.gz
qemu-6361bbc7e21f822823e015e5ccb50d4ac1745b1b.tar.bz2
usb-hub: set PORT_STAT_C_SUSPEND on host-initiated wake-up
PORT_STAT_C_SUSPEND should be set even on host-initiated wake-up, i.e. on ClearPortFeature(PORT_SUSPEND). Windows is known to not work properly otherwise. Side note, since PORT_ENABLE looks similar and might appear to have the same issue: According to 11.24.2.7.2.2 C_PORT_ENABLE: "This bit is set when the PORT_ENABLE bit changes from one to zero as a result of a Port Error condition (see Section 11.8.1). This bit is not set on any other changes to PORT_ENABLE." Signed-off-by: Ladi Prosek <lprosek@redhat.com> Message-id: 20170522123325.2199-1-lprosek@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb/hcd-ehci-sysbus.c')
0 files changed, 0 insertions, 0 deletions