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)
commit2526d3d8b2f671a7d36cc486af984052cd5a690f
tree161cca724ce4ecddcbdfed1642af1d5df8240c3c
parent37e62f5516cfb210e64fe53457932df4341b0ad1
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