]> 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)
commita79572f3721e80ea37a7ad1cf5358dce1e95d765
tree75a6f214b3c27e0f918c34bacdc03781ea2d79ac
parent335e822f8dc45a6059bf1b995cd5ca8d923f09b1
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