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
@@ -30,8 +30,8 @@ int mt76_queues_read(struct seq_file *s, void *data)
|
||||
struct mt76_dev *dev = dev_get_drvdata(s->private);
|
||||
int i;
|
||||
|
||||
for (i = 0; i < ARRAY_SIZE(dev->q_tx); i++) {
|
||||
struct mt76_queue *q = dev->q_tx[i];
|
||||
for (i = 0; i < ARRAY_SIZE(dev->phy.q_tx); i++) {
|
||||
struct mt76_queue *q = dev->phy.q_tx[i];
|
||||
|
||||
if (!q)
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user