diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-06-29 18:49:40 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-07-01 04:46:41 +0200 |
commit | eaea43abf30c8ccb447c190e7c94b46b5f75eae6 (patch) | |
tree | f5cd6640188bab54b301b66dc06cd2ef010e1664 /drivers/net/usb | |
parent | ipv4: Fix fib_trie rebalancing, part 3 (diff) | |
download | linux-eaea43abf30c8ccb447c190e7c94b46b5f75eae6.tar.xz linux-eaea43abf30c8ccb447c190e7c94b46b5f75eae6.zip |
cdc_eem: Use netdev stats structure
Now that netdev has its own stats structure we should use that
instead.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb')
-rw-r--r-- | drivers/net/usb/cdc_eem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/cdc_eem.c b/drivers/net/usb/cdc_eem.c index 80e01778dd3b..cd35d50e46d4 100644 --- a/drivers/net/usb/cdc_eem.c +++ b/drivers/net/usb/cdc_eem.c @@ -319,7 +319,7 @@ static int eem_rx_fixup(struct usbnet *dev, struct sk_buff *skb) return crc == crc2; if (unlikely(crc != crc2)) { - dev->stats.rx_errors++; + dev->net->stats.rx_errors++; dev_kfree_skb_any(skb2); } else usbnet_skb_return(dev, skb2); |