From ff6eafc63a6178675ee6ce57fa645184f148e60e Mon Sep 17 00:00:00 2001 From: yeshwanth sriram guntuka Date: Mon, 7 Aug 2017 15:49:10 +0530 Subject: [PATCH] qcacld-3.0: Do not update multicast counters when unicast packet is received Currently both unicast and multicast counters are updated when unicast packet is received if a multicast IP packet is sent using a unicast MAC address. Fix is to not update multicast counters when unicast packet is received. Change-Id: I6907a0cf51525af1ba6fb7e7be472eff72aaa779 CRs-Fixed: 2052905 --- core/wma/src/wma_features.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/core/wma/src/wma_features.c b/core/wma/src/wma_features.c index c7b5b5fbac1c..2ab69c88e052 100644 --- a/core/wma/src/wma_features.c +++ b/core/wma/src/wma_features.c @@ -2157,13 +2157,6 @@ static void wma_wow_parse_data_pkt(struct sir_vdev_wow_stats *stats, break; default: stats->ucast++; - - /* mcast ipv4/6 in ucast mac counts for both */ - if (wma_pkt_is_tcpv4_mcast(data, length)) - stats->ipv4_mcast++; - if (wma_pkt_is_tcpv6_mcast(data, length)) - stats->ipv6_mcast++; - break; }