summaryrefslogtreecommitdiffstats
path: root/drivers/net/netx-eth.c
diff options
context:
space:
mode:
authorAdrian Bunk <adrian.bunk@movial.fi>2008-01-06 08:55:13 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-09 08:29:59 +0100
commit9a262d5c24c63d2b7bea05e41d9b3bfbef63e903 (patch)
treefd070e9b68ebdd557fc0152c935d89eb9697468e /drivers/net/netx-eth.c
parent[IPV4] ipconfig: Fix regression in ip command line processing (diff)
downloadlinux-9a262d5c24c63d2b7bea05e41d9b3bfbef63e903.tar.xz
linux-9a262d5c24c63d2b7bea05e41d9b3bfbef63e903.zip
[NET]: Fix netx-eth.c compilation.
This was missed when commit e2ac455a18806b31c2d0da0a51d8740af5010b7a fixed the compile errors in drivers/net/netx-eth.c caused by commit 09f75cd7bf13720738e6a196cc0107ce9a5bd5a0. Signed-off-by: Adrian Bunk <adrian.bunk@movial.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netx-eth.c')
-rw-r--r--drivers/net/netx-eth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/netx-eth.c b/drivers/net/netx-eth.c
index 5267e031daa0..78d34af13a1c 100644
--- a/drivers/net/netx-eth.c
+++ b/drivers/net/netx-eth.c
@@ -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