From: Vasanthakumar Thiagarajan Date: Tue, 3 Apr 2012 08:43:46 +0000 (+0530) Subject: ath6kl: Support net_stats.multicast X-Git-Tag: next-20120417~44^2~99^2~4 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b514fab5a17464adcb31852c6bd6fd775b5dcb4d;p=karo-tx-linux.git ath6kl: Support net_stats.multicast net_stats.multicast is updated with the count of received multicast packets. kvalo: indentation changes Signed-off-by: Vasanthakumar Thiagarajan Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/ath/ath6kl/txrx.c b/drivers/net/wireless/ath/ath6kl/txrx.c index fdcc6ee5fe32..0163182e79da 100644 --- a/drivers/net/wireless/ath/ath6kl/txrx.c +++ b/drivers/net/wireless/ath/ath6kl/txrx.c @@ -1593,7 +1593,8 @@ void ath6kl_rx(struct htc_target *target, struct htc_packet *packet) /* aggregation code will handle the skb */ return; } - } + } else if (!is_broadcast_ether_addr(datap->h_dest)) + vif->net_stats.multicast++; ath6kl_deliver_frames_to_nw_stack(vif->ndev, skb); }