aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/smp.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-02-18 14:41:31 -0500
committerMarcel Holtmann <marcel@holtmann.org>2014-02-18 14:48:54 -0500
commit893ce8b1b3d92cbddcf34bb92c7d24720efc7fed (patch)
tree68416c7883b79fbcb40e7a6a5828ebbe6a3d0796 /net/bluetooth/smp.h
parenta735f9e22432899cee188d167966782c29246390 (diff)
Bluetooth: Remove SMP data specific crypto context
Now that each HCI device has its own AES crypto context we don't need the one stored in the SMP data any more. This patch removes the variable from struct smp_chan and updates the SMP code to use the per-hdev crypto context. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/smp.h')
-rw-r--r--net/bluetooth/smp.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/bluetooth/smp.h b/net/bluetooth/smp.h
index 4f373bc56ad7..8f54c9b152de 100644
--- a/net/bluetooth/smp.h
+++ b/net/bluetooth/smp.h
@@ -133,7 +133,6 @@ struct smp_chan {
133 u8 id_addr_type; 133 u8 id_addr_type;
134 u8 irk[16]; 134 u8 irk[16];
135 unsigned long smp_flags; 135 unsigned long smp_flags;
136 struct crypto_blkcipher *tfm;
137 struct work_struct confirm; 136 struct work_struct confirm;
138 struct work_struct random; 137 struct work_struct random;
139}; 138};