]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Change signature of smp_conn_security()
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>
Fri, 24 Aug 2012 00:32:43 +0000 (21:32 -0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 27 Aug 2012 15:07:18 +0000 (08:07 -0700)
commit85a654f4a8365d10ae9d5b117fc04b7ddeb00cc2
tree3629d8b4b5197d50604ff0177eb77de96f0a9f99
parentf087a95f437450554c55faddd09a29e0e6dd2173
Bluetooth: Change signature of smp_conn_security()

To make it clear that it may be called from contexts that may not have
any knowledge of L2CAP, we change the connection parameter, to receive
a hci_conn.

This also makes it clear that it is checking the security of the link.

Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
include/net/bluetooth/smp.h
net/bluetooth/l2cap_core.c
net/bluetooth/l2cap_sock.c
net/bluetooth/smp.c