mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: move tx hw data queues in mt76_phy
Move hw data queues in mt76_phy from mt76_dev since mt7915 supports per phy hw queues in dbdc mode Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
ccd62467d0
commit
2e217fb9e9
+2
-1
@@ -23,6 +23,7 @@ void mt76_testmode_tx_pending(struct mt76_dev *dev)
|
||||
{
|
||||
struct mt76_testmode_data *td = &dev->test;
|
||||
struct mt76_wcid *wcid = &dev->global_wcid;
|
||||
struct mt76_phy *phy = &dev->phy;
|
||||
struct sk_buff *skb = td->tx_skb;
|
||||
struct mt76_queue *q;
|
||||
int qid;
|
||||
@@ -31,7 +32,7 @@ void mt76_testmode_tx_pending(struct mt76_dev *dev)
|
||||
return;
|
||||
|
||||
qid = skb_get_queue_mapping(skb);
|
||||
q = dev->q_tx[qid];
|
||||
q = phy->q_tx[qid];
|
||||
|
||||
spin_lock_bh(&q->lock);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user