]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1afb65312b4ff802d7c63455a8be0be39143e6c6
tree75a6f214b3c27e0f918c34bacdc03781ea2d79ac
parent7b64576ae4164f912cd4e1c3ae94a61781eda5b4
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