]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/ifb.c
[PATCH] bcm43xx: Fix code for confusion between PHY revision and PHY version
[linux-2.6-omap-h63xx.git] / drivers / net / ifb.c
index c26a4b8e552a52274832b551a45c2d47ca357da7..ca2b21f9d44489f4008761764f520f90a8956053 100644 (file)
@@ -154,8 +154,8 @@ static int ifb_xmit(struct sk_buff *skb, struct net_device *dev)
        int ret = 0;
        u32 from = G_TC_FROM(skb->tc_verd);
 
-       stats->tx_packets++;
-       stats->tx_bytes+=skb->len;
+       stats->rx_packets++;
+       stats->rx_bytes+=skb->len;
 
        if (!from || !skb->input_dev) {
 dropped: