Commit 9a262d5c authored by Adrian Bunk's avatar Adrian Bunk Committed by David S. Miller

[NET]: Fix netx-eth.c compilation.

This was missed when commit e2ac455a
fixed the compile errors in drivers/net/netx-eth.c caused by
commit 09f75cd7.
Signed-off-by: default avatarAdrian Bunk <adrian.bunk@movial.fi>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 92ffb85d
......@@ -169,8 +169,8 @@ static void netx_eth_receive(struct net_device *ndev)
ndev->last_rx = jiffies;
skb->protocol = eth_type_trans(skb, ndev);
netif_rx(skb);
dev->stats.rx_packets++;
dev->stats.rx_bytes += len;
ndev->stats.rx_packets++;
ndev->stats.rx_bytes += len;
}
static irqreturn_t
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment