hrev47717 adds 1 changeset to branch 'master' old head: a59d6182576768f55db92c09a42b2ae8257aa3a8 new head: ec17ebde0827b186c598200afd679e6dad486e7e overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=ec17ebd+%5Ea59d618 ---------------------------------------------------------------------------- ec17ebd: 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. [ Adrien Destugues <pulkomandy@xxxxxxxxxxxxx> ] ---------------------------------------------------------------------------- Revision: hrev47717 Commit: ec17ebde0827b186c598200afd679e6dad486e7e URL: http://cgit.haiku-os.org/haiku/commit/?id=ec17ebd Author: Adrien Destugues <pulkomandy@xxxxxxxxxxxxx> Date: Wed Aug 20 20:00:37 2014 UTC Ticket: https://dev.haiku-os.org/ticket/11087 ---------------------------------------------------------------------------- 1 file changed, 1 insertion(+), 2 deletions(-) src/add-ons/kernel/busses/usb/uhci.cpp | 3 +-- ---------------------------------------------------------------------------- diff --git a/src/add-ons/kernel/busses/usb/uhci.cpp b/src/add-ons/kernel/busses/usb/uhci.cpp index 6347430..e868d73 100644 --- a/src/add-ons/kernel/busses/usb/uhci.cpp +++ b/src/add-ons/kernel/busses/usb/uhci.cpp @@ -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)