|
@@ -1509,8 +1509,9 @@ dp_rx_handle_ppdu_stats(struct dp_soc *soc, struct dp_pdev *pdev,
|
|
sizeof(struct cdp_rx_indication_ppdu),
|
|
sizeof(struct cdp_rx_indication_ppdu),
|
|
0, 0, FALSE);
|
|
0, 0, FALSE);
|
|
if (ppdu_nbuf) {
|
|
if (ppdu_nbuf) {
|
|
- cdp_rx_ppdu = (struct cdp_rx_indication_ppdu *)ppdu_nbuf->data;
|
|
|
|
|
|
+ cdp_rx_ppdu = (struct cdp_rx_indication_ppdu *)qdf_nbuf_data(ppdu_nbuf);
|
|
|
|
|
|
|
|
+ qdf_mem_zero(cdp_rx_ppdu, sizeof(struct cdp_rx_indication_ppdu));
|
|
dp_rx_mon_populate_cfr_info(pdev, ppdu_info, cdp_rx_ppdu);
|
|
dp_rx_mon_populate_cfr_info(pdev, ppdu_info, cdp_rx_ppdu);
|
|
dp_rx_populate_cdp_indication_ppdu(pdev,
|
|
dp_rx_populate_cdp_indication_ppdu(pdev,
|
|
ppdu_info, cdp_rx_ppdu);
|
|
ppdu_info, cdp_rx_ppdu);
|