qcacmn: Fix Rx PN error stats for broadcast mgmt frames

Rx PN error stats for broadcast management frames is being tracked
as a ucast stats. Fix it to be tracked as part of mcast stats.

Change-Id: If76c512107728b792ed6d92d56036325592f0fd1
CRs-Fixed: 3361840
This commit is contained in:
Pooventhiran G
2023-01-02 13:29:23 +05:30
کامیت شده توسط Madan Koyyalamudi
والد 6774796947
کامیت e69557093d
4فایلهای تغییر یافته به همراه13 افزوده شده و 13 حذف شده

مشاهده پرونده

@@ -1,6 +1,6 @@
/*
* Copyright (c) 2017-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -2428,7 +2428,7 @@ bool wlan_crypto_is_mmie_valid(struct wlan_objmgr_vdev *vdev,
crypto_err("expected pn = %x received pn = %x",
*ipn++, *su++);
}
wlan_cp_stats_vdev_ucast_rx_pnerr(vdev);
wlan_cp_stats_vdev_mcast_rx_pnerr(vdev);
wlan_cp_stats_peer_rx_pnerr(peer);
return false;
}