summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez <inaky@linux.intel.com>2008-04-08 13:24:46 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2008-04-24 21:16:55 -0700
commit3b52f128aeacc4b9e5992012c39ffc9508513bcd (patch)
treecb433996a4ec17821202ecc02da75b78be909dbb /include
parentcdc97792289179974af6dda781c855696358d307 (diff)
downloadop-kernel-dev-3b52f128aeacc4b9e5992012c39ffc9508513bcd.zip
op-kernel-dev-3b52f128aeacc4b9e5992012c39ffc9508513bcd.tar.gz
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>
Diffstat (limited to 'include')
-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 4a91181..c5af763 100644
--- a/include/linux/usb.h
+++ b/include/linux/usb.h
@@ -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;
OpenPOWER on IntegriCloud