summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/b44.c
diff options
context:
space:
mode:
authorMark Einon <mark.einon@gmail.com>2014-09-12 00:19:49 +0200
committerDavid S. Miller <davem@davemloft.net>2014-09-13 00:23:55 +0200
commit0bc9b73be43b21838973e80ddeb5250f0310ebf7 (patch)
tree1b7d90eb0118da0a90cc5d88004ecedf78d5dcbb /drivers/net/ethernet/broadcom/b44.c
parentMerge tag 'master-2014-09-11' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff)
downloadlinux-0bc9b73be43b21838973e80ddeb5250f0310ebf7.tar.xz
linux-0bc9b73be43b21838973e80ddeb5250f0310ebf7.zip
drivers: net: b44: Fix typo in returning multicast stats
nstat->multicast refers to received packets, not transmitted as is returned here. Change it so that received packet stats are given. Signed-off-by: Mark Einon <mark.einon@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/b44.c')
-rw-r--r--drivers/net/ethernet/broadcom/b44.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/b44.c b/drivers/net/ethernet/broadcom/b44.c
index 4a7028d65912..d588136b23b9 100644
--- a/drivers/net/ethernet/broadcom/b44.c
+++ b/drivers/net/ethernet/broadcom/b44.c
@@ -1697,7 +1697,7 @@ static struct rtnl_link_stats64 *b44_get_stats64(struct net_device *dev,
hwstat->tx_underruns +
hwstat->tx_excessive_cols +
hwstat->tx_late_cols);
- nstat->multicast = hwstat->tx_multicast_pkts;
+ nstat->multicast = hwstat->rx_multicast_pkts;
nstat->collisions = hwstat->tx_total_cols;
nstat->rx_length_errors = (hwstat->rx_oversize_pkts +