mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
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
This commit is contained in:
parent
369e4eec3a
commit
ff6eafc63a
1 changed files with 0 additions and 7 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue