summaryrefslogtreecommitdiffstats
path: root/include/linux/usb/wusb.h
diff options
context:
space:
mode:
authorIngo Molnar2013-12-16 14:51:32 +0100
committerIngo Molnar2013-12-16 14:51:32 +0100
commitfe361cfcf40ad4612226347573a8669cd0d44799 (patch)
treee874ef5a29c3bfe3dd67dc2d8962562c00fc8e3a /include/linux/usb/wusb.h
parentperf: Optimize ring-buffer write by depending on control dependencies (diff)
parentLinux 3.13-rc4 (diff)
downloadkernel-qcow2-linux-fe361cfcf40ad4612226347573a8669cd0d44799.tar.gz
kernel-qcow2-linux-fe361cfcf40ad4612226347573a8669cd0d44799.tar.xz
kernel-qcow2-linux-fe361cfcf40ad4612226347573a8669cd0d44799.zip
Merge tag 'v3.13-rc4' into perf/core
Merge Linux 3.13-rc4, to refresh this branch with the latest fixes. Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/usb/wusb.h')
-rw-r--r--include/linux/usb/wusb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb/wusb.h b/include/linux/usb/wusb.h
index 0c4d4ca370ec..eeb28329fa3c 100644
--- a/include/linux/usb/wusb.h
+++ b/include/linux/usb/wusb.h
@@ -271,6 +271,8 @@ static inline u8 wusb_key_index(int index, int type, int originator)
#define WUSB_KEY_INDEX_TYPE_GTK 2
#define WUSB_KEY_INDEX_ORIGINATOR_HOST 0
#define WUSB_KEY_INDEX_ORIGINATOR_DEVICE 1
+/* bits 0-3 used for the key index. */
+#define WUSB_KEY_INDEX_MAX 15
/* A CCM Nonce, defined in WUSB1.0[6.4.1] */
struct aes_ccm_nonce {