USB: dbpg gadget: dont mask out direction bit
authorSven Schnelle <svens@stackframe.org>
Wed, 23 Mar 2011 14:24:56 +0000 (15:24 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 30 Apr 2011 00:24:30 +0000 (17:24 -0700)
commita8779ee94e6114bf071ef3ca6c8c9cb270d179ed
treec0657c69a7b713edcfd9b0386cd4c46567f80259
parent83b720199393fe2be38159354ef5a07a1b861e61
USB: dbpg gadget: dont mask out direction bit

Stripping the direction bit off will produce an
invalid descriptor.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/dbgp.c