From: bellard Date: Tue, 25 Apr 2006 21:01:19 +0000 (+0000) Subject: fix for HCHALTED status bit X-Git-Tag: TizenStudio_2.0_p2.3~14366 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=467d409f7e7b30da22497fdcd6fe45f1369eed74;p=sdk%2Femulator%2Fqemu.git fix for HCHALTED status bit git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1852 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/hw/usb-uhci.c b/hw/usb-uhci.c index 10b3fa6..23964f3 100644 --- a/hw/usb-uhci.c +++ b/hw/usb-uhci.c @@ -175,7 +175,7 @@ static void uhci_ioport_writew(void *opaque, uint32_t addr, uint32_t val) /* start frame processing */ qemu_mod_timer(s->frame_timer, qemu_get_clock(vm_clock)); s->status &= ~UHCI_STS_HCHALTED; - } else if (!(val & UHCI_CMD_RS) && !(s->cmd & UHCI_CMD_RS)) { + } else if (!(val & UHCI_CMD_RS)) { s->status |= UHCI_STS_HCHALTED; } if (val & UHCI_CMD_GRESET) {