diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2006-03-23 14:07:26 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-03-23 17:13:54 -0500 |
commit | 4c180fc424550217344db6fe8960732dbd7feb0c (patch) | |
tree | a403d3ae7156876daf866749edb10177450ed2b7 /drivers/net/skge.c | |
parent | 5a01144717ee9dacd45e1b0861a2c593796bcead (diff) |
[PATCH] skge: multicast statistics fix
Fix count of multicast packets.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/skge.c')
-rw-r--r-- | drivers/net/skge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/skge.c b/drivers/net/skge.c index 72148f0fbfcc..e15cbefcb6e3 100644 --- a/drivers/net/skge.c +++ b/drivers/net/skge.c | |||
@@ -357,7 +357,7 @@ static struct net_device_stats *skge_get_stats(struct net_device *dev) | |||
357 | skge->net_stats.rx_bytes = data[1]; | 357 | skge->net_stats.rx_bytes = data[1]; |
358 | skge->net_stats.tx_packets = data[2] + data[4] + data[6]; | 358 | skge->net_stats.tx_packets = data[2] + data[4] + data[6]; |
359 | skge->net_stats.rx_packets = data[3] + data[5] + data[7]; | 359 | skge->net_stats.rx_packets = data[3] + data[5] + data[7]; |
360 | skge->net_stats.multicast = data[5] + data[7]; | 360 | skge->net_stats.multicast = data[3] + data[5]; |
361 | skge->net_stats.collisions = data[10]; | 361 | skge->net_stats.collisions = data[10]; |
362 | skge->net_stats.tx_aborted_errors = data[12]; | 362 | skge->net_stats.tx_aborted_errors = data[12]; |
363 | 363 | ||