]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
wusb: add authenticathed bit to usb_dev
authorInaky Perez-Gonzalez <inaky@linux.intel.com>
Tue, 8 Apr 2008 20:24:46 +0000 (13:24 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Apr 2008 04:16:55 +0000 (21:16 -0700)
This bit indicates the system that the WUSB device has been crypto
authenticated and thus can operate as normal.

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

index 4a91181629d99490afab7809ed5520eb0ea5135f..c5af7633c4491998aa2077dd1ead2e46214395c6 100644 (file)
@@ -372,6 +372,7 @@ struct usb_tt;
  *     used or not. By default, wired USB devices are authorized.
  *     WUSB devices are not, until we authorize them from user space.
  *     FIXME -- complete doc
+ * @authenticated: Crypto authentication passed
  * @wusb: device is Wireless USB
  * @string_langid: language ID for strings
  * @product: iProduct string, if present (static)
@@ -438,6 +439,7 @@ struct usb_device {
        unsigned persist_enabled:1;
        unsigned have_langid:1;
        unsigned authorized:1;
+       unsigned authenticated:1;
        unsigned wusb:1;
        int string_langid;