]> 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)
commit8fe018aa32f1e14108916bb67a8da2eb0a2de54c
treee60a40d2cbeda44be329936a42bb59626a9d43cf
parent9f33274c57fd919acb0599d2c62c9e06ccd36329
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