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)
commitcc110922da7e902b62d18641a370fec01a9fa794
tree3629d8b4b5197d50604ff0177eb77de96f0a9f99
parent1fa6535faf055cd71311ab887e94fc234f04ee18
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