Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290874
b: refs/heads/master
c: b17e73b
h: refs/heads/master
v: v3
  • Loading branch information
Szymon Janc authored and Johan Hedberg committed Feb 13, 2012
1 parent e7f3262 commit 2f2319e
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 0ef3ef0f676e3c7aaab4a936635f503770fd38b2
refs/heads/master: b17e73bb4269f47e1ea2d64a834f1cfc8644fabb
10 changes: 8 additions & 2 deletions trunk/net/bluetooth/l2cap_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1478,7 +1478,7 @@ static int l2cap_retransmit_frames(struct l2cap_chan *chan)
return ret;
}

static void l2cap_send_ack(struct l2cap_chan *chan)
static void __l2cap_send_ack(struct l2cap_chan *chan)
{
u32 control = 0;

Expand All @@ -1498,6 +1498,12 @@ static void l2cap_send_ack(struct l2cap_chan *chan)
l2cap_send_sframe(chan, control);
}

static void l2cap_send_ack(struct l2cap_chan *chan)
{
__clear_ack_timer(chan);
__l2cap_send_ack(chan);
}

static void l2cap_send_srejtail(struct l2cap_chan *chan)
{
struct srej_list *tail;
Expand Down Expand Up @@ -1988,7 +1994,7 @@ static void l2cap_ack_timeout(struct work_struct *work)
BT_DBG("chan %p", chan);

lock_sock(chan->sk);
l2cap_send_ack(chan);
__l2cap_send_ack(chan);
release_sock(chan->sk);
}

Expand Down

0 comments on commit 2f2319e

Please sign in to comment.