From: Stephen Hemminger Date: Thu, 23 Mar 2006 19:07:26 +0000 (-0800) Subject: [PATCH] skge: multicast statistics fix X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4c180fc424550217344db6fe8960732dbd7feb0c;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [PATCH] skge: multicast statistics fix Fix count of multicast packets. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik --- 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) skge->net_stats.rx_bytes = data[1]; skge->net_stats.tx_packets = data[2] + data[4] + data[6]; skge->net_stats.rx_packets = data[3] + data[5] + data[7]; - skge->net_stats.multicast = data[5] + data[7]; + skge->net_stats.multicast = data[3] + data[5]; skge->net_stats.collisions = data[10]; skge->net_stats.tx_aborted_errors = data[12];