Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 314466
b: refs/heads/master
c: 84104b2
h: refs/heads/master
v: v3
  • Loading branch information
Andrei Emeltchenko authored and Johan Hedberg committed Jun 5, 2012
1 parent d380c6f commit 8b514f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: 13ca56e0537aa148b7e7a6ea38ca6a6a1dc3e197
refs/heads/master: 84104b241d26302cb9083779d06741002534a58e
7 changes: 3 additions & 4 deletions trunk/net/bluetooth/l2cap_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -5187,7 +5187,8 @@ static void l2cap_data_channel(struct l2cap_conn *conn, u16 cid,
l2cap_chan_unlock(chan);
}

static inline int l2cap_conless_channel(struct l2cap_conn *conn, __le16 psm, struct sk_buff *skb)
static void l2cap_conless_channel(struct l2cap_conn *conn, __le16 psm,
struct sk_buff *skb)
{
struct l2cap_chan *chan;

Expand All @@ -5204,12 +5205,10 @@ static inline int l2cap_conless_channel(struct l2cap_conn *conn, __le16 psm, str
goto drop;

if (!chan->ops->recv(chan, skb))
return 0;
return;

drop:
kfree_skb(skb);

return 0;
}

static inline int l2cap_att_channel(struct l2cap_conn *conn, u16 cid,
Expand Down

0 comments on commit 8b514f0

Please sign in to comment.