mt76: add support for an extra wiphy in the main tx path

This is preparation for supporting multiple wiphys per device to support the
concurrent dual-band feature of MT7615D

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2019-11-20 12:54:17 +01:00
parent ea46624355
commit c5f1e83e30
11 changed files with 45 additions and 37 deletions
+1 -1
View File
@@ -694,7 +694,7 @@ static void mt76u_tx_tasklet(unsigned long data)
spin_unlock_bh(&q->lock);
mt76_txq_schedule(dev, i);
mt76_txq_schedule(&dev->phy, i);
if (!test_and_set_bit(MT76_READING_STATS, &dev->state))
queue_work(dev->usb.stat_wq, &dev->usb.stat_work);