Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254885
b: refs/heads/master
c: 9fa7e4f
h: refs/heads/master
i:
  254883: f52344e
v: v3
  • Loading branch information
Gustavo F. Padovan committed Jun 30, 2011
1 parent 99b3149 commit a271833
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 7bb59df83b190817f56c4e2fec3078d99d906ad4
refs/heads/master: 9fa7e4f76f3658ba1f44fbdb95c77e7df3f53f95
3 changes: 2 additions & 1 deletion trunk/net/bluetooth/l2cap_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2323,7 +2323,8 @@ static inline int l2cap_config_req(struct l2cap_conn *conn, struct l2cap_cmd_hdr

sk = chan->sk;

if (sk->sk_state != BT_CONFIG) {
if ((bt_sk(sk)->defer_setup && sk->sk_state != BT_CONNECT2) ||
(!bt_sk(sk)->defer_setup && sk->sk_state != BT_CONFIG)) {
struct l2cap_cmd_rej rej;

rej.reason = cpu_to_le16(0x0002);
Expand Down

0 comments on commit a271833

Please sign in to comment.