qcacmn: Remove nbuf free
Do not free ppdu nbuf when status pending since this does not lead to a leak. Change-Id: I9c1892d77c5043165853c1585d835bd4d9119357
This commit is contained in:
@@ -2343,12 +2343,10 @@ static void dp_txrx_ppdu_stats_handler(struct dp_soc *soc,
|
||||
pdev->tx_ppdu_info.buf, HTT_INVALID_PEER,
|
||||
WDI_NO_VAL, pdev_id);
|
||||
|
||||
} else {
|
||||
qdf_nbuf_free(pdev->tx_ppdu_info.buf);
|
||||
pdev->tx_ppdu_info.buf = NULL;
|
||||
pdev->tx_ppdu_info.last_user = 0;
|
||||
}
|
||||
|
||||
pdev->tx_ppdu_info.buf = NULL;
|
||||
pdev->tx_ppdu_info.last_user = 0;
|
||||
}
|
||||
#else
|
||||
static void dp_txrx_ppdu_stats_handler(struct dp_soc *soc,
|
||||
|
Reference in New Issue
Block a user