Commit b10f4ba6 authored by Alan Stern's avatar Alan Stern Committed by Greg Kroah-Hartman
Browse files

USB: fix typo in wMaxPacketSize validation



commit 6c73358c upstream.

The maximum value allowed for wMaxPacketSize of a high-speed interrupt
endpoint is 1024 bytes, not 1023.

Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Fixes: aed9d65a ("USB: validate wMaxPacketValue entries in endpoint descriptors")
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d8a447ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment