diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/netx-eth.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/netx-eth.c b/drivers/net/netx-eth.c index eb0aff787dfd..5267e031daa0 100644 --- a/drivers/net/netx-eth.c +++ b/drivers/net/netx-eth.c | |||
@@ -128,8 +128,8 @@ netx_eth_hard_start_xmit(struct sk_buff *skb, struct net_device *ndev) | |||
128 | FIFO_PTR_FRAMELEN(len)); | 128 | FIFO_PTR_FRAMELEN(len)); |
129 | 129 | ||
130 | ndev->trans_start = jiffies; | 130 | ndev->trans_start = jiffies; |
131 | dev->stats.tx_packets++; | 131 | ndev->stats.tx_packets++; |
132 | dev->stats.tx_bytes += skb->len; | 132 | ndev->stats.tx_bytes += skb->len; |
133 | 133 | ||
134 | netif_stop_queue(ndev); | 134 | netif_stop_queue(ndev); |
135 | spin_unlock_irq(&priv->lock); | 135 | spin_unlock_irq(&priv->lock); |
@@ -155,7 +155,7 @@ static void netx_eth_receive(struct net_device *ndev) | |||
155 | if (unlikely(skb == NULL)) { | 155 | if (unlikely(skb == NULL)) { |
156 | printk(KERN_NOTICE "%s: Low memory, packet dropped.\n", | 156 | printk(KERN_NOTICE "%s: Low memory, packet dropped.\n", |
157 | ndev->name); | 157 | ndev->name); |
158 | dev->stats.rx_dropped++; | 158 | ndev->stats.rx_dropped++; |
159 | return; | 159 | return; |
160 | } | 160 | } |
161 | 161 | ||