--- a/net/bluetooth/l2cap_sock.c
+++ b/net/bluetooth/l2cap_sock.c
-@@ -736,8 +736,13 @@ static int l2cap_sock_setsockopt_old(str
+@@ -749,8 +749,13 @@ static int l2cap_sock_setsockopt_old(str
return err;
}
{
struct sock *sk = sock->sk;
struct l2cap_chan *chan = l2cap_pi(sk)->chan;
-@@ -1534,8 +1539,12 @@ static struct sock *l2cap_sock_alloc(str
+@@ -1553,8 +1558,12 @@ static struct sock *l2cap_sock_alloc(str
return sk;
}
{
struct sock *sk;
-@@ -1547,7 +1556,11 @@ static int l2cap_sock_create(struct net
+@@ -1566,7 +1575,11 @@ static int l2cap_sock_create(struct net
sock->type != SOCK_DGRAM && sock->type != SOCK_RAW)
return -ESOCKTNOSUPPORT;