summaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/cdc_eem.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-06-29 16:49:40 +0000
committerDavid S. Miller <davem@davemloft.net>2009-06-30 19:46:41 -0700
commiteaea43abf30c8ccb447c190e7c94b46b5f75eae6 (patch)
treef5cd6640188bab54b301b66dc06cd2ef010e1664 /drivers/net/usb/cdc_eem.c
parent008440e3ad4b72f5048d1b1f6f5ed894fdc5ad08 (diff)
downloadlinux-eaea43abf30c8ccb447c190e7c94b46b5f75eae6.tar.gz
linux-eaea43abf30c8ccb447c190e7c94b46b5f75eae6.tar.bz2
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/cdc_eem.c')
-rw-r--r--drivers/net/usb/cdc_eem.c2
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);