Ver Fonte

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
yeshwanth sriram guntuka há 7 anos atrás
pai
commit
ff6eafc63a
1 ficheiros alterados com 0 adições e 7 exclusões
  1. 0 7
      core/wma/src/wma_features.c

+ 0 - 7
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;
 	}