diff options
Diffstat (limited to 'net')
-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 31f106e61ca2..ad1cf82fee02 100644 --- a/net/bluetooth/l2cap_sock.c +++ b/net/bluetooth/l2cap_sock.c | |||
@@ -1246,7 +1246,7 @@ static void l2cap_sock_teardown_cb(struct l2cap_chan *chan, int err) | |||
1246 | struct sock *sk = chan->data; | 1246 | struct sock *sk = chan->data; |
1247 | struct sock *parent; | 1247 | struct sock *parent; |
1248 | 1248 | ||
1249 | lock_sock(sk); | 1249 | lock_sock_nested(sk, SINGLE_DEPTH_NESTING); |
1250 | 1250 | ||
1251 | parent = bt_sk(sk)->parent; | 1251 | parent = bt_sk(sk)->parent; |
1252 | 1252 | ||