diff options
Diffstat (limited to 'net/bluetooth/l2cap.c')
-rw-r--r-- | net/bluetooth/l2cap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/l2cap.c b/net/bluetooth/l2cap.c index 6fbbae78b304..477e052b17b5 100644 --- a/net/bluetooth/l2cap.c +++ b/net/bluetooth/l2cap.c | |||
@@ -607,7 +607,7 @@ static struct sock *l2cap_sock_alloc(struct net *net, struct socket *sock, int p | |||
607 | { | 607 | { |
608 | struct sock *sk; | 608 | struct sock *sk; |
609 | 609 | ||
610 | sk = sk_alloc(net, PF_BLUETOOTH, prio, &l2cap_proto, 1); | 610 | sk = sk_alloc(net, PF_BLUETOOTH, prio, &l2cap_proto); |
611 | if (!sk) | 611 | if (!sk) |
612 | return NULL; | 612 | return NULL; |
613 | 613 | ||