Bluetooth: Allow setting BT_SECURITY_FIPS with setsockopt
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 24 Mar 2016 14:04:15 +0000 (16:04 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 8 Apr 2016 17:10:57 +0000 (19:10 +0200)
commita164cee111085f9ee77f6038f006658249073523
tree950a90c0b7c17cb55c25b21e098563172f57c40c
parent84cb3df02aea4b00405521e67c4c67c2d525c364
Bluetooth: Allow setting BT_SECURITY_FIPS with setsockopt

Update the security level check to allow setting BT_SECURITY_FIPS for
an L2CAP socket.

Signed-off-by: Patrik Flykt <patrik.flykt@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_sock.c