diff options
| author | Grant Likely <grant.likely@secretlab.ca> | 2011-04-07 11:15:50 -0700 | 
|---|---|---|
| committer | Grant Likely <grant.likely@secretlab.ca> | 2011-04-07 11:15:50 -0700 | 
| commit | 454abcc57f1d48a976291bc4af73b5f087e21d70 (patch) | |
| tree | 5bba999ea3f31527da02b60604531cc5fb52ea57 /net/bluetooth/l2cap_core.c | |
| parent | 88aab9341a315d81118be6b41c45e4fe32b94bc1 (diff) | |
| parent | 6221f222c0ebf1acdf7abcf927178f40e1a65e2a (diff) | |
| download | olio-linux-3.10-454abcc57f1d48a976291bc4af73b5f087e21d70.tar.xz olio-linux-3.10-454abcc57f1d48a976291bc4af73b5f087e21d70.zip  | |
Merge commit 'v2.6.39-rc2' into spi/merge
Diffstat (limited to 'net/bluetooth/l2cap_core.c')
| -rw-r--r-- | net/bluetooth/l2cap_core.c | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index c9f9cecca52..ca27f3a4153 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c @@ -1116,7 +1116,9 @@ int l2cap_ertm_send(struct sock *sk)  		bt_cb(skb)->tx_seq = pi->next_tx_seq;  		pi->next_tx_seq = (pi->next_tx_seq + 1) % 64; -		pi->unacked_frames++; +		if (bt_cb(skb)->retries == 1) +			pi->unacked_frames++; +  		pi->frames_sent++;  		if (skb_queue_is_last(TX_QUEUE(sk), skb))  |