aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/smp.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-02-19 07:57:46 -0500
committerMarcel Holtmann <marcel@holtmann.org>2014-02-19 11:04:24 -0500
commit23d0e128e38049734c7ecc0987de02486d1ded3e (patch)
tree636b06843ff7642d7072d13d4014a492f4284625 /net/bluetooth/smp.h
parentba74b666b5e581ef3d4912af73774fab48c03198 (diff)
Bluetooth: Track SMP keys in the SMP context
As preparation to do mgmt notification in a single place at the end of the key distribution, store the keys that need to be notified within the SMP 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/bluetooth/smp.h b/net/bluetooth/smp.h
index 675fd3b21d2c..d8cc543f523c 100644
--- a/net/bluetooth/smp.h
+++ b/net/bluetooth/smp.h
@@ -133,6 +133,9 @@ struct smp_chan {
133 bdaddr_t id_addr; 133 bdaddr_t id_addr;
134 u8 id_addr_type; 134 u8 id_addr_type;
135 u8 irk[16]; 135 u8 irk[16];
136 struct smp_ltk *ltk;
137 struct smp_ltk *slave_ltk;
138 struct smp_irk *remote_irk;
136 unsigned long smp_flags; 139 unsigned long smp_flags;
137 struct work_struct confirm; 140 struct work_struct confirm;
138 struct work_struct random; 141 struct work_struct random;