Do not count requeued packets as discarded.
authormtaylor <mtaylor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Sat, 19 Jan 2008 00:56:25 +0000 (00:56 +0000)
committermtaylor <mtaylor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Sat, 19 Jan 2008 00:56:25 +0000 (00:56 +0000)
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3217 0192ed92-7a03-0410-a25b-9323aeb14dbd

ath/if_ath.c

index 280183cd7e843a82c506497339a5057f5676310d..f00dbaa8d862d63cd459e976d289e8d91e0d636d 100644 (file)
@@ -3105,7 +3105,6 @@ ath_hardstart(struct sk_buff *skb, struct net_device *dev)
        txq = sc->sc_ac2q[skb->priority];
 
        if (txq->axq_depth > TAIL_DROP_COUNT) {
-               sc->sc_stats.ast_tx_discard++;
                requeue = 1;
                goto hardstart_fail;
        }