aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez <inaky@linux.intel.com>2008-04-08 16:24:46 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-04-25 00:16:55 -0400
commit3b52f128aeacc4b9e5992012c39ffc9508513bcd (patch)
treecb433996a4ec17821202ecc02da75b78be909dbb
parentcdc97792289179974af6dda781c855696358d307 (diff)
wusb: add authenticathed bit to usb_dev
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>
-rw-r--r--include/linux/usb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h
index 4a91181629d9..c5af7633c449 100644
--- a/include/linux/usb.h
+++ b/include/linux/usb.h
@@ -372,6 +372,7 @@ struct usb_tt;
372 * used or not. By default, wired USB devices are authorized. 372 * used or not. By default, wired USB devices are authorized.
373 * WUSB devices are not, until we authorize them from user space. 373 * WUSB devices are not, until we authorize them from user space.
374 * FIXME -- complete doc 374 * FIXME -- complete doc
375 * @authenticated: Crypto authentication passed
375 * @wusb: device is Wireless USB 376 * @wusb: device is Wireless USB
376 * @string_langid: language ID for strings 377 * @string_langid: language ID for strings
377 * @product: iProduct string, if present (static) 378 * @product: iProduct string, if present (static)
@@ -438,6 +439,7 @@ struct usb_device {
438 unsigned persist_enabled:1; 439 unsigned persist_enabled:1;
439 unsigned have_langid:1; 440 unsigned have_langid:1;
440 unsigned authorized:1; 441 unsigned authorized:1;
442 unsigned authenticated:1;
441 unsigned wusb:1; 443 unsigned wusb:1;
442 int string_langid; 444 int string_langid;
443 445