USB: Fix up bogus bInterval values in endpoint descriptors
commit615ae11b3b4af7a5adb0819ff11b3b764eb92268
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 8 Jun 2007 19:23:27 +0000 (8 15:23 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Jun 2007 23:24:31 +0000 (8 16:24 -0700)
tree9a22377dcc2d9d40dc5dd8043be3671b532d3957
parentfd209e35b74110ee1f3371838b0782b5b02eaaba
USB: Fix up bogus bInterval values in endpoint descriptors

This patch (as904) adds code to check for endpoint descriptor bInterval
values outside the legal limits.  Illegal values are set to 32 ms, which
seems like a reasonable default.

This fixes Bugzilla #8432.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/config.c