提交 9a262d5c 编写于 作者: A Adrian Bunk 提交者: 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: NAdrian Bunk <adrian.bunk@movial.fi>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册