mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 05:29:04 -04:00
qcacmn: Fix ppdu info release during detach
queued ppdu info list are free at wrong function causing leak. Change-Id: I4fb75c5612095af8c965d46ebafd401dd0ed7bf9
This commit is contained in:
parent
ac6e852e8c
commit
aa57301f00
1 changed files with 2 additions and 2 deletions
|
|
@ -3865,6 +3865,8 @@ static void dp_pdev_deinit(struct cdp_pdev *txrx_pdev, int force)
|
|||
|
||||
dp_htt_ppdu_stats_detach(pdev);
|
||||
|
||||
dp_tx_ppdu_stats_detach(pdev);
|
||||
|
||||
qdf_nbuf_free(pdev->sojourn_buf);
|
||||
|
||||
dp_cal_client_detach(&pdev->cal_client_ctx);
|
||||
|
|
@ -3922,8 +3924,6 @@ static void dp_pdev_detach(struct cdp_pdev *txrx_pdev, int force)
|
|||
|
||||
dp_mon_link_free(pdev);
|
||||
|
||||
dp_tx_ppdu_stats_detach(pdev);
|
||||
|
||||
/* Cleanup per PDEV REO rings if configured */
|
||||
if (wlan_cfg_per_pdev_rx_ring(soc->wlan_cfg_ctx)) {
|
||||
dp_srng_cleanup(soc, &soc->reo_dest_ring[pdev->pdev_id],
|
||||
|
|
|
|||
Loading…
Reference in a new issue