qcacmn: Pass pdev to dp_peer_stats_notify API

Pass pdev to dp_peer_stats_notify API instead of de-referencing
this from peer structure.

Change-Id: I5dc679283f5822f44b4140aefb3aee44a826c720
CRs-Fixed: 2500647
This commit is contained in:
Tallapragada Kalyan
2019-08-02 18:22:46 +05:30
committed by nshrivas
parent ddb699577c
commit d92f598f75
4 changed files with 11 additions and 12 deletions

View File

@@ -515,7 +515,7 @@ static void dp_rx_stats_update(struct dp_pdev *pdev, struct dp_peer *peer,
ac = TID_TO_WME_AC(ppdu->tid);
if (ppdu->tid != HAL_TID_INVALID)
DP_STATS_INC(peer, rx.wme_ac_type[ac], num_msdu);
dp_peer_stats_notify(peer);
dp_peer_stats_notify(pdev, peer);
DP_STATS_UPD(peer, rx.last_rssi, ppdu->rssi);
if (is_invalid_peer)