summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek/mt76/dma.c
diff options
context:
space:
mode:
authorLorenzo Bianconi2018-07-31 10:09:08 +0200
committerKalle Valo2018-08-02 20:47:57 +0200
commit81e850ef2625cb859d1ff8f0d81129bfb1e219fa (patch)
treec60b7f67f6f3f943044f7cbbf5a5e0b3231e4737 /drivers/net/wireless/mediatek/mt76/dma.c
parentmt76x2: introduce mt76x2_mac_load_tx_status routine (diff)
downloadkernel-qcow2-linux-81e850ef2625cb859d1ff8f0d81129bfb1e219fa.tar.gz
kernel-qcow2-linux-81e850ef2625cb859d1ff8f0d81129bfb1e219fa.tar.xz
kernel-qcow2-linux-81e850ef2625cb859d1ff8f0d81129bfb1e219fa.zip
mt76x2: add napi struct to mt76_rx_poll_complete/mt76_rx_complete signatures
in order to reuse mt76_rx_complete routine supporting mt76x2u based devices add napi struct to mt76_rx_poll_complete and mt76_rx_complete routine signatures and do not fetch it according to the rx queue index Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/dma.c')
-rw-r--r--drivers/net/wireless/mediatek/mt76/dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/dma.c b/drivers/net/wireless/mediatek/mt76/dma.c
index 3dbedcedc2c4..872b1c53e246 100644
--- a/drivers/net/wireless/mediatek/mt76/dma.c
+++ b/drivers/net/wireless/mediatek/mt76/dma.c
@@ -400,7 +400,7 @@ mt76_dma_rx_poll(struct napi_struct *napi, int budget)
do {
cur = mt76_dma_rx_process(dev, &dev->q_rx[qid], budget - done);
- mt76_rx_poll_complete(dev, qid);
+ mt76_rx_poll_complete(dev, qid, napi);
done += cur;
} while (cur && done < budget);