]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Permit BT_SECURITY also for L2CAP raw sockets
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 20 Feb 2009 19:54:06 +0000 (20:54 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 27 Feb 2009 05:14:48 +0000 (06:14 +0100)
commit2d26dd3d04c54faa5d168c8587c1bc61898d3b9a
tree161cca724ce4ecddcbdfed1642af1d5df8240c3c
parentb282d95f18282b0b523e70ecc6cb64ae36a1e0cf
Bluetooth: Permit BT_SECURITY also for L2CAP raw sockets

Userspace pairing code can be simplified if it doesn't have to fall
back to using L2CAP_LM in the case of L2CAP raw sockets. This patch
allows the BT_SECURITY socket option to be used for these sockets.

Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap.c