mt7603: beacon: fix typo in beacon_mask computation

Signed-off-by: Lorenzo Bianconi <[email protected]>
This commit is contained in:
Lorenzo Bianconi
2017-05-30 08:39:38 +02:00
committed by Felix Fietkau
parent 219c8dc717
commit ef5b045ddf
+1 -1
View File
@@ -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)) {