]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: allow malformed LANGID descriptors
authorDaniel Mack <daniel@caiaq.de>
Fri, 20 Mar 2009 18:58:57 +0000 (19:58 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Mar 2009 23:20:45 +0000 (16:20 -0700)
commitb7af0bb26899bb47ae16fb41d2296111b0784a56
tree3b3ccddfc8aeb0eddf46afab31b826e7815a7be3
parent4c24b6d045a9d355c95ca4e6beb10ce2fd263390
USB: allow malformed LANGID descriptors

When an USB hardware does not provide a valid LANGID, fall back to value
zero which is still a reasonable default for most devices.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/message.c