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:

committed by
nshrivas

parent
ddb699577c
commit
d92f598f75
@@ -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)
|
||||
|
Reference in New Issue
Block a user