Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255849
b: refs/heads/master
c: e13e21d
h: refs/heads/master
i:
  255847: 8a5cb8e
v: v3
  • Loading branch information
Vinicius Costa Gomes authored and Gustavo F. Padovan committed Jun 20, 2011
1 parent 49114ef commit 4bf8aa1
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: 6312845169e8719f6f0726efc62bc6a8dedea9d3
refs/heads/master: e13e21dc5d06bd9ed4a88daf057b8dbe80c220de
4 changes: 2 additions & 2 deletions trunk/net/bluetooth/l2cap_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -3965,7 +3965,7 @@ static inline int l2cap_conless_channel(struct l2cap_conn *conn, __le16 psm, str
if (chan->state != BT_BOUND && chan->state != BT_CONNECTED)
goto drop;

if (l2cap_pi(sk)->chan->imtu < skb->len)
if (chan->imtu < skb->len)
goto drop;

if (!chan->ops->recv(chan->data, skb))
Expand Down Expand Up @@ -3998,7 +3998,7 @@ static inline int l2cap_att_channel(struct l2cap_conn *conn, __le16 cid, struct
if (chan->state != BT_BOUND && chan->state != BT_CONNECTED)
goto drop;

if (l2cap_pi(sk)->chan->imtu < skb->len)
if (chan->imtu < skb->len)
goto drop;

if (!chan->ops->recv(chan->data, skb))
Expand Down

0 comments on commit 4bf8aa1

Please sign in to comment.