summaryrefslogtreecommitdiff
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorAnderson Briglia <anderson.briglia@openbossa.org>2011-06-09 21:50:46 (GMT)
committerGustavo F. Padovan <padovan@profusion.mobi>2011-06-13 18:48:25 (GMT)
commit7d24ddcc1140d2f796436e476c8d69469610588b (patch)
treec2bb98242fb3e8e9b441ce92fccfabea3a7bf492 /include/net/bluetooth
parentf01ead315785768cdb6e928646f90a47640bcdd9 (diff)
downloadlinux-fsl-qoriq-7d24ddcc1140d2f796436e476c8d69469610588b.tar.xz
Bluetooth: Add SMP confirmation checks methods
This patch includes support for generating and sending the random value used to produce the confirmation value. Signed-off-by: Anderson Briglia <anderson.briglia@openbossa.org> Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r--include/net/bluetooth/l2cap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index b03d9c4..01c993b 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -399,6 +399,7 @@ struct l2cap_conn {
__u8 prsp[7]; /* SMP Pairing Response */
__u8 prnd[16]; /* SMP Pairing Random */
__u8 pcnf[16]; /* SMP Pairing Confirm */
+ __u8 tk[16]; /* SMP Temporary Key */
struct list_head chan_l;
rwlock_t chan_lock;