Bluetooth: Create SMP device structure for local crypto context
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 16 Mar 2015 08:10:19 +0000 (01:10 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 16 Mar 2015 08:31:05 +0000 (10:31 +0200)
commit88a479d9507eb7a510a612705aa686c52d24b2ab
treeb49bcb4e3f33138e4626eaacf4dc9871ad2d78ca
parent276812ec3e945493443e399921a07e9d6aa4d5b2
Bluetooth: Create SMP device structure for local crypto context

Every Bluetooth Low Energy controller requires a local crypto context
to handle the resolvable private addresses. At the moment this is just
a single crypto context, but for out-of-band data generation it will
require an additional. To facility this, create a struct smp_dev that
will hold all the extra information. This patch is just the refactoring
in preparation for future changes.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/smp.c