Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openwrt/mt76.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mt7603
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-03-14 19:32:11 +0300
committerFelix Fietkau <nbd@nbd.name>2021-03-14 19:36:54 +0300
commitbfa8d5a6a9a1cd43d4ce4090f53fdc52c6247d66 (patch)
tree8a4ecadbbd22976856fa5798b57463b5ae0a3c84 /mt7603
parentfd2c59d9ba465e38cc0d9d8f6f9dcebd3ffbccdf (diff)
mt76: adjust to upstream API for enabling threaded NAPI
Create a second dummy device for tx napi to avoid making it threaded Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'mt7603')
-rw-r--r--mt7603/dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mt7603/dma.c b/mt7603/dma.c
index 0086f18c..2b624411 100644
--- a/mt7603/dma.c
+++ b/mt7603/dma.c
@@ -223,7 +223,7 @@ int mt7603_dma_init(struct mt7603_dev *dev)
if (ret)
return ret;
- netif_tx_napi_add(&dev->mt76.napi_dev, &dev->mt76.tx_napi,
+ netif_tx_napi_add(&dev->mt76.tx_napi_dev, &dev->mt76.tx_napi,
mt7603_poll_tx, NAPI_POLL_WEIGHT);
napi_enable(&dev->mt76.tx_napi);