Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41040
b: refs/heads/master
c: 354f60a
h: refs/heads/master
v: v3
  • Loading branch information
Marcel Holtmann authored and David S. Miller committed Nov 22, 2006
1 parent 1fcea4b commit c0db908
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 820ae1b865caa05e0614004d0183ca70de2b8665
refs/heads/master: 354f60a9952d0af59e684b91cc6e06b95fbbf5ef
3 changes: 3 additions & 0 deletions trunk/net/bluetooth/l2cap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1533,6 +1533,9 @@ static inline int l2cap_config_req(struct l2cap_conn *conn, struct l2cap_cmd_hdr
if (!(sk = l2cap_get_chan_by_scid(&conn->chan_list, dcid)))
return -ENOENT;

if (sk->sk_state == BT_DISCONN)
goto unlock;

l2cap_parse_conf_req(sk, req->data, cmd->len - sizeof(*req));

if (flags & 0x0001) {
Expand Down

0 comments on commit c0db908

Please sign in to comment.