That flag is for qh.info2 - it being set in qh.info1 appears to be a typo.
Signed-off-by: Kevin O'Connor kevin@koconnor.net --- src/usb-ehci.c | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/usb-ehci.c b/src/usb-ehci.c index a99ac35..6494a3d 100644 --- a/src/usb-ehci.c +++ b/src/usb-ehci.c @@ -387,12 +387,10 @@ ehci_desc2pipe(struct ehci_pipe *pipe, struct usbdevice_s *usbdev { usb_desc2pipe(&pipe->pipe, usbdev, epdesc);
- pipe->qh.info1 = ( - (1 << QH_MULT_SHIFT) - | (pipe->pipe.maxpacket << QH_MAXPACKET_SHIFT) - | (pipe->pipe.speed << QH_SPEED_SHIFT) - | (pipe->pipe.ep << QH_EP_SHIFT) - | (pipe->pipe.devaddr << QH_DEVADDR_SHIFT)); + pipe->qh.info1 = ((pipe->pipe.maxpacket << QH_MAXPACKET_SHIFT) + | (pipe->pipe.speed << QH_SPEED_SHIFT) + | (pipe->pipe.ep << QH_EP_SHIFT) + | (pipe->pipe.devaddr << QH_DEVADDR_SHIFT));
pipe->qh.info2 = (1 << QH_MULT_SHIFT); struct usbdevice_s *hubdev = usbdev->hub->usbdev;