Commit 3b52f128 authored by Inaky Perez-Gonzalez's avatar Inaky Perez-Gonzalez Committed by Greg Kroah-Hartman

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: default avatarInaky Perez-Gonzalez <inaky@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent cdc97792
...@@ -372,6 +372,7 @@ struct usb_tt; ...@@ -372,6 +372,7 @@ struct usb_tt;
* used or not. By default, wired USB devices are authorized. * used or not. By default, wired USB devices are authorized.
* WUSB devices are not, until we authorize them from user space. * WUSB devices are not, until we authorize them from user space.
* FIXME -- complete doc * FIXME -- complete doc
* @authenticated: Crypto authentication passed
* @wusb: device is Wireless USB * @wusb: device is Wireless USB
* @string_langid: language ID for strings * @string_langid: language ID for strings
* @product: iProduct string, if present (static) * @product: iProduct string, if present (static)
...@@ -438,6 +439,7 @@ struct usb_device { ...@@ -438,6 +439,7 @@ struct usb_device {
unsigned persist_enabled:1; unsigned persist_enabled:1;
unsigned have_langid:1; unsigned have_langid:1;
unsigned authorized:1; unsigned authorized:1;
unsigned authenticated:1;
unsigned wusb:1; unsigned wusb:1;
int string_langid; int string_langid;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment