]> git.baikalelectronics.ru Git - kernel.git/commit
rtw88: pci: release tx skbs DMAed when stop
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Mon, 16 Sep 2019 07:03:35 +0000 (15:03 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 21 Sep 2019 05:47:27 +0000 (08:47 +0300)
commitf39aa3fe638a447313e777dc4cef95d93965b22a
treee60a40d2cbeda44be329936a42bb59626a9d43cf
parent5053ea7492dfb91c831dec2c822f057e2710c3ee
rtw88: pci: release tx skbs DMAed when stop

Interrupt is disabled to stop PCI, which means the skbs
queued for each TX ring will not be released via DMA
interrupt. To avoid those skbs remained being left in
the skb queue until PCI has been removed, driver needs
to release skbs by itself.

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Tested-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/pci.c