diff options
Diffstat (limited to 'net/bluetooth/l2cap_sock.c')
-rw-r--r-- | net/bluetooth/l2cap_sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/l2cap_sock.c b/net/bluetooth/l2cap_sock.c index e4cae72895a7..388ee8b59145 100644 --- a/net/bluetooth/l2cap_sock.c +++ b/net/bluetooth/l2cap_sock.c | |||
@@ -778,7 +778,7 @@ static int l2cap_sock_setsockopt(struct socket *sock, int level, int optname, | |||
778 | } | 778 | } |
779 | 779 | ||
780 | if (sec.level < BT_SECURITY_LOW || | 780 | if (sec.level < BT_SECURITY_LOW || |
781 | sec.level > BT_SECURITY_HIGH) { | 781 | sec.level > BT_SECURITY_FIPS) { |
782 | err = -EINVAL; | 782 | err = -EINVAL; |
783 | break; | 783 | break; |
784 | } | 784 | } |