https://bugzilla.kernel.org/show_bug.cgi?id=212995 --- Comment #3 from Alan Stern (stern@xxxxxxxxxxxxxxxxxxx) --- The code _does_ make this check. See usb_submit_urb(); near the start it does: ep = usb_pipe_endpoint(dev, urb->pipe); if (!ep) return -ENOENT; Now if you want to make this a little clearer, you could submit a patch that changes the code in qh_urb_transaction() to do this: maxpacket = usb_endpoint_maxp(&urb->ep->desc); -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.