aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorAnderson Briglia <anderson.briglia@openbossa.org>2011-06-09 18:50:46 -0300
committerJaikumar Ganesh <jaikumar@google.com>2011-07-11 11:59:21 -0700
commit21b8a2b0040d263e8d32c7ce1c06531ab75fd12d (patch)
tree8d8e00537ffcbe26b557ec72187807fe566fa738 /include/net/bluetooth
parentc8e856e3c7c0bc0315143c6a966766852002c36d (diff)
downloadkernel_samsung_espresso10-21b8a2b0040d263e8d32c7ce1c06531ab75fd12d.zip
kernel_samsung_espresso10-21b8a2b0040d263e8d32c7ce1c06531ab75fd12d.tar.gz
kernel_samsung_espresso10-21b8a2b0040d263e8d32c7ce1c06531ab75fd12d.tar.bz2
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;