diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-03-20 19:36:36 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-21 22:51:24 -0700 |
commit | bbfc6b788f63f079fb8eeeb8d397bb1c0a8065a1 (patch) | |
tree | 65b339dc8a068e21495575a5629f7346213e2306 /drivers/net/wireless/libertas/if_cs.c | |
parent | 6456fffb09a281af2644e73fda26d1eeec325830 (diff) | |
download | blackbird-obmc-linux-bbfc6b788f63f079fb8eeeb8d397bb1c0a8065a1.tar.gz blackbird-obmc-linux-bbfc6b788f63f079fb8eeeb8d397bb1c0a8065a1.zip |
libertas: convert to internal net_device_stats
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/libertas/if_cs.c')
-rw-r--r-- | drivers/net/wireless/libertas/if_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/if_cs.c b/drivers/net/wireless/libertas/if_cs.c index 8f8934a5ba3a..cedeac6322fe 100644 --- a/drivers/net/wireless/libertas/if_cs.c +++ b/drivers/net/wireless/libertas/if_cs.c @@ -421,7 +421,7 @@ static struct sk_buff *if_cs_receive_data(struct lbs_private *priv) len = if_cs_read16(priv->card, IF_CS_READ_LEN); if (len == 0 || len > MRVDRV_ETH_RX_PACKET_BUFFER_SIZE) { lbs_pr_err("card data buffer has invalid # of bytes (%d)\n", len); - priv->stats.rx_dropped++; + priv->dev->stats.rx_dropped++; goto dat_err; } |