Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255848
b: refs/heads/master
c: 6312845
h: refs/heads/master
v: v3
  • Loading branch information
Vinicius Costa Gomes authored and Gustavo F. Padovan committed Jun 20, 2011
1 parent 8a5cb8e commit 49114ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: a7925bd27d6ef020b8f3a3a64bde61d0add07220
refs/heads/master: 6312845169e8719f6f0726efc62bc6a8dedea9d3
4 changes: 2 additions & 2 deletions trunk/net/bluetooth/l2cap_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -918,11 +918,11 @@ static void l2cap_conn_ready(struct l2cap_conn *conn)

bh_lock_sock(sk);

if (conn->hcon->type == LE_LINK)
if (conn->hcon->type == LE_LINK) {
if (smp_conn_security(conn, chan->sec_level))
l2cap_chan_ready(sk);

if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) {
} else if (chan->chan_type != L2CAP_CHAN_CONN_ORIENTED) {
__clear_chan_timer(chan);
l2cap_state_change(chan, BT_CONNECTED);
sk->sk_state_change(sk);
Expand Down

0 comments on commit 49114ef

Please sign in to comment.