Propagation from qcacld-2.0 to qcacld-3.0. Presently in updating wma_wow_wake_up_stats, icmpv4 and icmpv6 counts are increased just by checking ICMP protocol offset byte and ICMPV6 protocol offset byte without checking for whether it is a IPV4 or IPV6 packet. So it is possible that for ICMPV6 packet, the IPV4 protol offset byte is equal to ICMP protocol or for some ICMP packet, the IPV6 protocol byte is equal to ICMPV6 protocol and thus both the icmpv4 and icmpv6 counts will get increased for that packet. Add ipv4 and ipv6 packet checks as well in addition to the present checks to avoid wrong increment in the counts. Change-Id: I2d6e5d095d2f4b2dd474b9338bfc830b04bfa533 CRs-fixed: 1048651 |
||
---|---|---|
.. | ||
inc | ||
src |