diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-06-29 16:49:40 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-30 19:46:41 -0700 |
commit | eaea43abf30c8ccb447c190e7c94b46b5f75eae6 (patch) | |
tree | f5cd6640188bab54b301b66dc06cd2ef010e1664 /drivers/net/usb | |
parent | 008440e3ad4b72f5048d1b1f6f5ed894fdc5ad08 (diff) | |
download | op-kernel-dev-eaea43abf30c8ccb447c190e7c94b46b5f75eae6.zip op-kernel-dev-eaea43abf30c8ccb447c190e7c94b46b5f75eae6.tar.gz |
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 80e0177..cd35d50 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); |