Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 314467
b: refs/heads/master
c: 6810fca
h: refs/heads/master
i:
  314465: d380c6f
  314463: ab8be9e
v: v3
  • Loading branch information
Andrei Emeltchenko authored and Johan Hedberg committed Jun 5, 2012
1 parent 8b514f0 commit 5953034
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: 84104b241d26302cb9083779d06741002534a58e
refs/heads/master: 6810fca724d2a3c08c0d2eb8510648e7a36ab592
8 changes: 3 additions & 5 deletions trunk/net/bluetooth/l2cap_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -5211,8 +5211,8 @@ static void l2cap_conless_channel(struct l2cap_conn *conn, __le16 psm,
kfree_skb(skb);
}

static inline int l2cap_att_channel(struct l2cap_conn *conn, u16 cid,
struct sk_buff *skb)
static void l2cap_att_channel(struct l2cap_conn *conn, u16 cid,
struct sk_buff *skb)
{
struct l2cap_chan *chan;

Expand All @@ -5229,12 +5229,10 @@ static inline int l2cap_att_channel(struct l2cap_conn *conn, u16 cid,
goto drop;

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

drop:
kfree_skb(skb);

return 0;
}

static void l2cap_recv_frame(struct l2cap_conn *conn, struct sk_buff *skb)
Expand Down

0 comments on commit 5953034

Please sign in to comment.