aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bnx2.c')
-rw-r--r--drivers/net/bnx2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
index 8f1cd7cfa09d..182f2410c23d 100644
--- a/drivers/net/bnx2.c
+++ b/drivers/net/bnx2.c
@@ -6155,7 +6155,7 @@ bnx2_get_stats(struct net_device *dev)
6155{ 6155{
6156 struct bnx2 *bp = netdev_priv(dev); 6156 struct bnx2 *bp = netdev_priv(dev);
6157 struct statistics_block *stats_blk = bp->stats_blk; 6157 struct statistics_block *stats_blk = bp->stats_blk;
6158 struct net_device_stats *net_stats = &bp->net_stats; 6158 struct net_device_stats *net_stats = &dev->stats;
6159 6159
6160 if (bp->stats_blk == NULL) { 6160 if (bp->stats_blk == NULL) {
6161 return net_stats; 6161 return net_stats;