Bluetooth: Allow L2CAP to increase the security level
authorGustavo F. Padovan <padovan@profusion.mobi>
Sat, 5 Nov 2011 21:58:31 +0000 (19:58 -0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 10 Nov 2011 22:25:04 +0000 (20:25 -0200)
commit0bee1d60cbad24288c75573511356d450c1fd45a
tree75a6f214b3c27e0f918c34bacdc03781ea2d79ac
parentd45fc42323b7909829b8f27f26676c675f26551f
Bluetooth: Allow L2CAP to increase the security level

Some incomming connections needs to increase the security level by
requesting encryption for example (HID keyboard case). This change allows
the userspace to change it through setsockopt with defer_setup enabled.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/l2cap_sock.c