diff options
author | Arik Nemtsov <arik@wizery.com> | 2011-08-14 13:17:39 +0300 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-08-22 12:35:32 +0300 |
commit | 04b4d69c89593d907d81a4aa33e4e42a632fe436 (patch) | |
tree | 843bcd2efe9cdf80f4103d29f2a16d51653cb555 /drivers/net/ibm_newemac/phy.c | |
parent | 04216da393e1f6653cc99a58f2fa48d0dde417c0 (diff) |
wl12xx: fix tx_queue_count spurious increment
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>
Diffstat (limited to 'drivers/net/ibm_newemac/phy.c')
0 files changed, 0 insertions, 0 deletions