From: Arik Nemtsov Date: Sun, 14 Aug 2011 10:17:39 +0000 (+0300) Subject: wl12xx: fix tx_queue_count spurious increment X-Git-Tag: v3.2-rc1~129^2~287^2^2~87^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04b4d69c89593d907d81a4aa33e4e42a632fe436;p=pandora-kernel.git 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 Signed-off-by: Eliad Peller Signed-off-by: Luciano Coelho --- Reading git-diff-tree failed