Skip to content

Commit

Permalink
[NET]: Fix netx-eth.c compilation.
Browse files Browse the repository at this point in the history
This was missed when commit e2ac455
fixed the compile errors in drivers/net/netx-eth.c caused by
commit 09f75cd.

Signed-off-by: Adrian Bunk <adrian.bunk@movial.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Adrian Bunk authored and David S. Miller committed Jan 9, 2008
1 parent 92ffb85 commit 9a262d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/netx-eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9a262d5

Please sign in to comment.