mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
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:
parent
d6b2247ece
commit
abb925005d
1 changed files with 2 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue