Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290957
b: refs/heads/master
c: 7ddb6e0
h: refs/heads/master
i:
  290955: cf15cfa
v: v3
  • Loading branch information
Andrei Emeltchenko authored and Johan Hedberg committed Feb 16, 2012
1 parent bb9fa1f commit 4c4c823
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 46479e698530b8197d601a23317b7c7654195338
refs/heads/master: 7ddb6e0f3f7aa265c905b947e9ac4ab9562e52f2
4 changes: 3 additions & 1 deletion trunk/net/bluetooth/l2cap_sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -795,14 +795,16 @@ static void l2cap_sock_kill(struct sock *sk)
static int l2cap_sock_shutdown(struct socket *sock, int how)
{
struct sock *sk = sock->sk;
struct l2cap_chan *chan = l2cap_pi(sk)->chan;
struct l2cap_chan *chan;
int err = 0;

BT_DBG("sock %p, sk %p", sock, sk);

if (!sk)
return 0;

chan = l2cap_pi(sk)->chan;

lock_sock(sk);
if (!sk->sk_shutdown) {
if (chan->mode == L2CAP_MODE_ERTM)
Expand Down

0 comments on commit 4c4c823

Please sign in to comment.