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:
Soumya Bhat
2017-12-27 17:14:32 +05:30
committed by snandini
szülő d6b2247ece
commit abb925005d

Fájl megtekintése

@@ -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,