mirror of https://github.com/xqemu/xqemu.git
xhci: stop on errors
When some error happened we'll have to stop processing the endpoint. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
f10de44e7e
commit
3c4866e07e
|
@ -1721,10 +1721,14 @@ static void xhci_kick_ep(XHCIState *xhci, unsigned int slotid, unsigned int epid
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (epctx->state == EP_HALTED) {
|
||||||
|
DPRINTF("xhci: ep halted, stopping schedule\n");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Qemu usb can't handle multiple in-flight xfers.
|
* Qemu usb can't handle multiple in-flight xfers.
|
||||||
* Also xfers might be finished here already,
|
* Stop here for now.
|
||||||
* possibly with an error. Stop here for now.
|
|
||||||
*/
|
*/
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue