Fix UHCI Short Packet Transfers
This commit is contained in:
committed by
Adrien Destugues
parent
7e4afecfd5
commit
15777340b1
@@ -2113,7 +2113,7 @@ UHCI::CreateDescriptor(Pipe *pipe, uint8 direction, size_t bufferSize)
|
|||||||
else {
|
else {
|
||||||
result->status |= TD_CONTROL_3_ERRORS;
|
result->status |= TD_CONTROL_3_ERRORS;
|
||||||
if (direction == TD_TOKEN_IN
|
if (direction == TD_TOKEN_IN
|
||||||
&& (pipe->Type() & USB_OBJECT_CONTROL_PIPE) == 0)
|
&& (pipe->Type() & USB_OBJECT_CONTROL_PIPE) != 0)
|
||||||
result->status |= TD_CONTROL_SPD;
|
result->status |= TD_CONTROL_SPD;
|
||||||
}
|
}
|
||||||
if (pipe->Speed() == USB_SPEED_LOWSPEED)
|
if (pipe->Speed() == USB_SPEED_LOWSPEED)
|
||||||
|
|||||||
Reference in New Issue
Block a user