git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: VMware virtual Ethernet NIC driver: vmxnet3
[safe/jmp/linux-2.6]
/
drivers
/
bluetooth
/
hci_bcsp.c
diff --git
a/drivers/bluetooth/hci_bcsp.c
b/drivers/bluetooth/hci_bcsp.c
index
894b2cb
..
40aec0f
100644
(file)
--- a/
drivers/bluetooth/hci_bcsp.c
+++ b/
drivers/bluetooth/hci_bcsp.c
@@
-373,8
+373,9
@@
static void bcsp_pkt_cull(struct bcsp_struct *bcsp)
i = 0;
skb_queue_walk_safe(&bcsp->unack, skb, tmp) {
- if (i
++
>= pkts_to_be_removed)
+ if (i >= pkts_to_be_removed)
break;
+ i++;
__skb_unlink(skb, &bcsp->unack);
kfree_skb(skb);