You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
USB: Accept bulk endpoints with 1024-byte maxpacket
commit fb5ee84 upstream.
Some non-compliant high-speed USB devices have bulk endpoints with a
1024-byte maxpacket size. Although such endpoints don't work with
xHCI host controllers, they do work with EHCI controllers. We used to
accept these invalid sizes (with a warning), but we no longer do
because of an unintentional change introduced by commit aed9d65
("USB: validate wMaxPacketValue entries in endpoint descriptors").
This patch restores the old behavior, so that people with these
peculiar devices can use them without patching their kernels by hand.
Signed-off-by: Alan Stern <[email protected]>
Suggested-by: Elvinas <[email protected]>
Fixes: aed9d65 ("USB: validate wMaxPacketValue entries in endpoint descriptors")
CC: <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
0 commit comments