UHCI: Enable short packet detection for all transfers.
As suggested by akshay, there is no reason to do this only for control transfers. All input transfers can have short packets and we want to detect those and trigger the "end of transfer" code when a short packet happens. Fixes #11087.
This commit is contained in:
parent
a59d618257
commit
ec17ebde08
@ -2112,8 +2112,7 @@ UHCI::CreateDescriptor(Pipe *pipe, uint8 direction, size_t bufferSize)
|
||||
result->status |= TD_CONTROL_ISOCHRONOUS;
|
||||
else {
|
||||
result->status |= TD_CONTROL_3_ERRORS;
|
||||
if (direction == TD_TOKEN_IN
|
||||
&& (pipe->Type() & USB_OBJECT_CONTROL_PIPE) != 0)
|
||||
if (direction == TD_TOKEN_IN)
|
||||
result->status |= TD_CONTROL_SPD;
|
||||
}
|
||||
if (pipe->Speed() == USB_SPEED_LOWSPEED)
|
||||
|
Loading…
x
Reference in New Issue
Block a user