From ef5b045ddf52d7033da5270c7a6ce195df24bd24 Mon Sep 17 00:00:00 2001 From: Lorenzo Bianconi Date: Tue, 30 May 2017 01:20:35 +0200 Subject: [PATCH] mt7603: beacon: fix typo in beacon_mask computation Signed-off-by: Lorenzo Bianconi --- mt7603_beacon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mt7603_beacon.c b/mt7603_beacon.c index 5eb48a8c..01962d40 100644 --- a/mt7603_beacon.c +++ b/mt7603_beacon.c @@ -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)) {