Bluetooth: Add support for returning the encryption key size
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>
Fri, 8 Jul 2011 21:31:46 +0000 (18:31 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Fri, 8 Jul 2011 21:39:31 +0000 (18:39 -0300)
commit8f360119243c214eb5c5549c61981d51a276154a
treefc5fce3d33d7cfcbf4326936f35e2382473b334c
parent726b4ffcaa450d9593b9b6ac8605967ce9f3e506
Bluetooth: Add support for returning the encryption key size

This will be useful when userspace wants to restrict some kinds of
operations based on the length of the key size used to encrypt the
link.

Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/bluetooth.h
net/bluetooth/l2cap_sock.c