Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278580
b: refs/heads/master
c: d1726b6
h: refs/heads/master
v: v3
  • Loading branch information
Szymon Janc authored and Gustavo F. Padovan committed Nov 16, 2011
1 parent dd57d37 commit 0335a0b
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: 039d9572f11ef46ff2743798f2170a888d393ec6
refs/heads/master: d1726b6dc95b5ed0914e969f6765a9e2cf7baf04
8 changes: 3 additions & 5 deletions trunk/net/bluetooth/l2cap_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1318,14 +1318,12 @@ static void l2cap_retransmit_one_frame(struct l2cap_chan *chan, u16 tx_seq)
if (!skb)
return;

do {
if (bt_cb(skb)->tx_seq == tx_seq)
break;

while (bt_cb(skb)->tx_seq != tx_seq) {
if (skb_queue_is_last(&chan->tx_q, skb))
return;

} while ((skb = skb_queue_next(&chan->tx_q, skb)));
skb = skb_queue_next(&chan->tx_q, skb);
}

if (chan->remote_max_tx &&
bt_cb(skb)->retries == chan->remote_max_tx) {
Expand Down

0 comments on commit 0335a0b

Please sign in to comment.