Message ID | 20191219085816.20709-2-yhchuang@realtek.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 25cab7e71da32d46651f5fc9373eef9b79938629 |
Delegated to: | Kalle Valo |
Headers | show |
Series | rtw88: add wowlan support for 8822c | expand |
<yhchuang@realtek.com> wrote: > From: Chin-Yen Lee <timlee@realtek.com> > > 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> 7 patches applied to wireless-drivers-next.git, thanks. 25cab7e71da3 rtw88: pci: reset ring index when release skbs in tx ring fd30e891e0bc rtw88: pci: reset dma when reset pci trx ring 786221048e8f rtw88: add interface config for 8822c c8e5695eae99 rtw88: load wowlan firmware if wowlan is supported 44bc17f7f5b3 rtw88: support wowlan feature for 8822c e3e400df3007 rtw88: Add wowlan pattern match support b6c12908a33e rtw88: Add wowlan net-detect support
diff --git a/drivers/net/wireless/realtek/rtw88/pci.c b/drivers/net/wireless/realtek/rtw88/pci.c index a58e8276a41a..068f1bec88e6 100644 --- a/drivers/net/wireless/realtek/rtw88/pci.c +++ b/drivers/net/wireless/realtek/rtw88/pci.c @@ -506,6 +506,7 @@ static void rtw_pci_dma_release(struct rtw_dev *rtwdev, struct rtw_pci *rtwpci) struct rtw_pci_tx_ring *tx_ring; u8 queue; + rtw_pci_reset_trx_ring(rtwdev); for (queue = 0; queue < RTK_MAX_TX_QUEUE_NUM; queue++) { tx_ring = &rtwpci->tx_rings[queue]; rtw_pci_free_tx_ring_skbs(rtwdev, tx_ring);