usb: gadget: Fix os desc test
authorMario Schuknecht <mario.schuknecht@dresearch-fe.de>
Mon, 26 Jan 2015 19:30:27 +0000 (20:30 +0100)
committerFelipe Balbi <balbi@ti.com>
Tue, 27 Jan 2015 15:34:58 +0000 (09:34 -0600)
commitdf6738d0d23321da834e9025845e26e09b0f6615
treef0d0ee5e2960791389484631d180cf70ed3931de
parentcb83df77f3ec151d68a1b6be957207e6fc7b7f50
usb: gadget: Fix os desc test

USB vendor type is encoded in field bmRequestType. Make test USB_TYPE_VENDOR
with bRequestType instead of bRequest.

Signed-off-by: Mario Schuknecht <mario.schuknecht@dresearch-fe.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/composite.c