diff --git a/hw/usb-uhci.c b/hw/usb-uhci.c
index 346db3e..a51d89b 100644
--- a/hw/usb-uhci.c
+++ b/hw/usb-uhci.c
@@ -732,11 +732,21 @@ out:
      case USB_RET_STALL:
          td->ctrl |= TD_CTRL_STALL;
          td->ctrl&= ~TD_CTRL_ACTIVE;
+        s->status |= UHCI_STS_USBERR;

Just this line should be enougth.

      case USB_RET_BABBLE:
          td->ctrl |= TD_CTRL_BABBLE | TD_CTRL_STALL;
          td->ctrl&= ~TD_CTRL_ACTIVE;
+        s->status |= UHCI_STS_USBERR;

Likewise.

Tried that?

cheers,
  Gerd


Reply via email to