mirror of https://github.com/xqemu/xqemu.git
xhci: fix events for setup trb.
When we find a IOC bit set on a setup trb and therefore queue an event, that should not stop events being generated for following data trbs. So clear the 'reported' flag. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
88dbed3f59
commit
df0f1692db
|
@ -1793,6 +1793,14 @@ static void xhci_xfer_report(XHCITransfer *xfer)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
switch (TRB_TYPE(*trb)) {
|
||||||
|
case TR_SETUP:
|
||||||
|
reported = 0;
|
||||||
|
shortpkt = 0;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue