Bluetooth: Remove SMP data specific crypto context
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 18 Feb 2014 19:41:31 +0000 (21:41 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 18 Feb 2014 19:48:54 +0000 (11:48 -0800)
commit893ce8b1b3d92cbddcf34bb92c7d24720efc7fed
tree68416c7883b79fbcb40e7a6a5828ebbe6a3d0796
parenta735f9e22432899cee188d167966782c29246390
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>
net/bluetooth/smp.c
net/bluetooth/smp.h