git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04216da
)
wl12xx: fix tx_queue_count spurious increment
author
Arik Nemtsov
<arik@wizery.com>
Sun, 14 Aug 2011 10:17:39 +0000
(13:17 +0300)
committer
Luciano Coelho
<coelho@ti.com>
Mon, 22 Aug 2011 09:35:32 +0000
(12:35 +0300)
Only increment the queue count after actually queuing the skb. This
avoids a spurious increment is case of dropped packets.
Also move the Tx-watermark checking code after the packet is enqueued.
This makes the count more accurate - it includes the just-queued
packet.
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/main.c
patch
|
blob
|
history
diff --cc
drivers/net/wireless/wl12xx/main.c
Simple merge