qcacmn: Update rx_avg_snr with CDP_INVALID_SNR on clear stats command

Update rx_avg_snr with CDP_INVALID_SNR on clear stats command

Change-Id: I7e91d84af2b2e3b74dc90591912aa4c98e651ce3
CRs-Fixed: 3520752
This commit is contained in:
Harsh Kumar Bijlani
2023-06-06 11:09:15 +05:30
committed by Rahul Choudhary
parent 8943c4d969
commit ee6f5e4069

View File

@@ -6171,9 +6171,9 @@ dp_txrx_host_peer_stats_clr(struct dp_soc *soc,
{
struct dp_txrx_peer *txrx_peer = NULL;
struct dp_peer *tgt_peer = NULL;
struct cdp_interface_peer_stats peer_stats_intf;
struct cdp_interface_peer_stats peer_stats_intf = {0};
qdf_mem_zero(&peer_stats_intf, sizeof(struct cdp_interface_peer_stats));
peer_stats_intf.rx_avg_snr = CDP_INVALID_SNR;
DP_STATS_CLR(peer);
/* Clear monitor peer stats */