rtw88: pci: reset ring index when release skbs in tx ring
authorChin-Yen Lee <timlee@realtek.com>
Thu, 19 Dec 2019 08:58:10 +0000 (16:58 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Sun, 26 Jan 2020 15:36:59 +0000 (17:36 +0200)
commit25cab7e71da32d46651f5fc9373eef9b79938629
tree584754079b3d2d00d59dc1cb2e9c8cbf446e78cc
parentb61156fba74f659d0bc2de8f2dbf5bad9f4b8faf
rtw88: pci: reset ring index when release skbs in tx ring

When skbs queued for each TX ring are relased in PCI stop flow,
the ring index should be reset at the same time.

Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/pci.c