USB: fix typo in wMaxPacketSize validation
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 22 Aug 2016 20:58:53 +0000 (16:58 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Aug 2016 10:54:32 +0000 (06:54 -0400)
commit6c73358c83ce870c0cf32413e5cadb3b9a39c606
treefa433cac891b576c81ad6c8ca0e01acd50fa6a9e
parentfa8410b355251fd30341662a40ac6b22d3e38468
USB: fix typo in wMaxPacketSize validation

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

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Fixes: aed9d65ac327 ("USB: validate wMaxPacketValue entries in endpoint descriptors")
CC: <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/config.c