]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
usb: introduce usb_device authorization bits
authorInaky Perez-Gonzalez <inaky@linux.intel.com>
Wed, 1 Aug 2007 03:33:57 +0000 (20:33 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:55:04 +0000 (14:55 -0700)
commitda04b7a42711c1d1d8d9fbc2565cdd83efcfee40
treeaa06a22b69dd65107bf2a88b623284977956c0f6
parentca2bdf4bcc91818f03e009b87c348609c2578d1d
usb: introduce usb_device authorization bits

This just modifies 'struct usb_device' to contain the 'authorized'
bit. It also adds a 'wusb' bit. This is needed because nonauthorized
(and thus non-authenticated) wusb devices will fail certain kind of
simple requests (such as string descriptors). By knowing the device is
WUSB, we just avoid them.

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/usb.h