mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt7603: beacon: fix typo in beacon_mask computation
Signed-off-by: Lorenzo Bianconi <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
219c8dc717
commit
ef5b045ddf
+1
-1
@@ -146,7 +146,7 @@ void mt7603_beacon_set_timer(struct mt7603_dev *dev, int idx, int intval)
|
||||
if (intval)
|
||||
dev->beacon_mask |= BIT(idx);
|
||||
else
|
||||
dev->beacon_mask &= BIT(idx);
|
||||
dev->beacon_mask &= ~BIT(idx);
|
||||
}
|
||||
|
||||
if (!dev->beacon_mask || (!intval && idx < 0)) {
|
||||
|
||||
Reference in New Issue
Block a user