Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290938
b: refs/heads/master
c: 8ed7a0a
h: refs/heads/master
v: v3
  • Loading branch information
Szymon Janc authored and Johan Hedberg committed Feb 13, 2012
1 parent 5539f34 commit 35cdad1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 6d5922b01b5e8d684dae5baaea596a4a749738e3
refs/heads/master: 8ed7a0ae7834cbefb82ed15a92e36983924efa23
6 changes: 3 additions & 3 deletions trunk/net/bluetooth/l2cap_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1453,17 +1453,17 @@ static int l2cap_ertm_send(struct l2cap_chan *chan)

chan->next_tx_seq = __next_seq(chan, chan->next_tx_seq);

if (bt_cb(skb)->retries == 1)
if (bt_cb(skb)->retries == 1) {
chan->unacked_frames++;
nsent++;
}

chan->frames_sent++;

if (skb_queue_is_last(&chan->tx_q, skb))
chan->tx_send_head = NULL;
else
chan->tx_send_head = skb_queue_next(&chan->tx_q, skb);

nsent++;
}

return nsent;
Expand Down

0 comments on commit 35cdad1

Please sign in to comment.