Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 180413
b: refs/heads/master
c: 6c2718d
h: refs/heads/master
i:
  180411: 74447f5
v: v3
  • Loading branch information
Nick Pelly authored and Marcel Holtmann committed Feb 4, 2010
1 parent af851e3 commit 0185a70
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 485f1eff73a7b932fd3abb0dfcf804e1a1f59025
refs/heads/master: 6c2718da59613d76013b501bf0f8bcf9d7794b2d
6 changes: 5 additions & 1 deletion trunk/net/bluetooth/rfcomm/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1150,7 +1150,11 @@ static int rfcomm_recv_ua(struct rfcomm_session *s, u8 dlci)
break;

case BT_DISCONN:
rfcomm_session_put(s);
/* When socket is closed and we are not RFCOMM
* initiator rfcomm_process_rx already calls
* rfcomm_session_put() */
if (s->sock->sk->sk_state != BT_CLOSED)
rfcomm_session_put(s);
break;
}
}
Expand Down

0 comments on commit 0185a70

Please sign in to comment.