mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacmn: Add case to increment ICMP req frames in stats
Currently while processing wakeup stats, the driver doesnot increment the icmpv4 packet count in case of a ICMP req frame. This causes only the unicast packet counts to be incremented. Add a case in function ucfg_mc_cp_stats_inc_wake_lock_stats_by_protocol to increment the count in the above mentioned case also. Change-Id: I0ee3e6e91f3bc7a8d9043af1af46739037cb7678 CRs-Fixed: 2439237
This commit is contained in:
parent
afdb8f4fb5
commit
791789e341
1 changed files with 1 additions and 0 deletions
|
|
@ -156,6 +156,7 @@ QDF_STATUS ucfg_mc_cp_stats_inc_wake_lock_stats_by_protocol(
|
|||
vdev_mc_stats = vdev_cp_stats_priv->vdev_stats;
|
||||
stats = &vdev_mc_stats->wow_stats;
|
||||
switch (protocol) {
|
||||
case QDF_PROTO_ICMP_REQ:
|
||||
case QDF_PROTO_ICMP_RES:
|
||||
stats->icmpv4_count++;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue