Skip to content

Commit

Permalink
mt7603: enable beacons for other virtual interfaces
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Fietkau <nbd@nbd.name>
  • Loading branch information
nbd168 committed Mar 15, 2017
1 parent 59ce2b4 commit 93ce124
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mt7603_beacon.c
Expand Up @@ -172,6 +172,8 @@ void mt7603_beacon_set_timer(struct mt7603_dev *dev, int idx, int intval)
mt76_set(dev, MT_HW_INT_MASK(3),
MT_HW_INT3_PRE_TBTT0 | MT_HW_INT3_TBTT0);

mt76_set(dev, MT_WF_ARB_BCN_START, MT_WF_ARB_BCN_START_BSSn(0));
mt76_set(dev, MT_WF_ARB_BCN_START,
MT_WF_ARB_BCN_START_BSSn(0) |
((dev->beacon_mask >> 1) * MT_WF_ARB_BCN_START_BSS0n(1)));
mt7603_irq_enable(dev, MT_INT_MAC_IRQ3);
}

0 comments on commit 93ce124

Please sign in to comment.