diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2020-11-11 14:47:28 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-12-04 14:31:14 +0100 |
commit | 8987059475f503cbf8c5fbb8e8fe537d602bec92 (patch) | |
tree | 5154ce17379da3060f2bdfe0ba8895e6c1ab43d4 /drivers/net/wireless/mediatek/mt76/testmode.c | |
parent | e5655492e33c2e6b83ddb07c75fe91a64f07b8bc (diff) | |
download | linux-stable-8987059475f503cbf8c5fbb8e8fe537d602bec92.tar.gz linux-stable-8987059475f503cbf8c5fbb8e8fe537d602bec92.tar.bz2 linux-stable-8987059475f503cbf8c5fbb8e8fe537d602bec92.zip |
mt76: rely on mt76_queue in tx_queue_skb signature
Rely on mt76_queue instead of qid in tx_queue_skb signature.
This is a preliminary patch to move data queues in mt76_phy and add
dbdc support to mt7915 driver
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/testmode.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/testmode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/testmode.c b/drivers/net/wireless/mediatek/mt76/testmode.c index d1b171697e28..733c396eb3d2 100644 --- a/drivers/net/wireless/mediatek/mt76/testmode.c +++ b/drivers/net/wireless/mediatek/mt76/testmode.c @@ -39,7 +39,8 @@ void mt76_testmode_tx_pending(struct mt76_dev *dev) q->queued < q->ndesc / 2) { int ret; - ret = dev->queue_ops->tx_queue_skb(dev, qid, skb_get(skb), wcid, NULL); + ret = dev->queue_ops->tx_queue_skb(dev, q, skb_get(skb), wcid, + NULL); if (ret < 0) break; |