Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290877
b: refs/heads/master
c: 5ef8cb9
h: refs/heads/master
i:
  290875: bba8fd9
v: v3
  • Loading branch information
Andrei Emeltchenko authored and Johan Hedberg committed Feb 13, 2012
1 parent 22261b1 commit 84cfb2e
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: 09bfb2ee52a66845bbefad0b6eaeae1b5adea949
refs/heads/master: 5ef8cb9e5b5012a373f48e1e336339864b4c1303
7 changes: 3 additions & 4 deletions trunk/net/bluetooth/l2cap_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ static int l2cap_build_conf_req(struct l2cap_chan *chan, void *data);
static void l2cap_send_disconn_req(struct l2cap_conn *conn,
struct l2cap_chan *chan, int err);

static int l2cap_ertm_data_rcv(struct sock *sk, struct sk_buff *skb);
static int l2cap_ertm_data_rcv(struct l2cap_chan *chan, struct sk_buff *skb);

/* ---- L2CAP channels ---- */

Expand Down Expand Up @@ -4138,9 +4138,8 @@ static inline int l2cap_data_channel_sframe(struct l2cap_chan *chan, u32 rx_cont
return 0;
}

static int l2cap_ertm_data_rcv(struct sock *sk, struct sk_buff *skb)
int l2cap_ertm_data_rcv(struct l2cap_chan *chan, struct sk_buff *skb)
{
struct l2cap_chan *chan = l2cap_pi(sk)->chan;
u32 control;
u16 req_seq;
int len, next_tx_seq_offset, req_seq_offset;
Expand Down Expand Up @@ -4241,7 +4240,7 @@ static inline int l2cap_data_channel(struct l2cap_conn *conn, u16 cid, struct sk
break;

case L2CAP_MODE_ERTM:
l2cap_ertm_data_rcv(sk, skb);
l2cap_ertm_data_rcv(chan, skb);

goto done;

Expand Down

0 comments on commit 84cfb2e

Please sign in to comment.