From 9b48c13b52f71cd0cd24679f24626db76b20c978 Mon Sep 17 00:00:00 2001 From: Ryder Lee Date: Fri, 30 Oct 2020 01:11:15 +0800 Subject: [PATCH] mt76: mt7915: use BIT_ULL for omac_idx The omac_idx variable is u64 so we should use the 64-bit BIT_ULL(). Signed-off-by: Ryder Lee Signed-off-by: Felix Fietkau --- mt7915/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mt7915/main.c b/mt7915/main.c index 1d82ae53..9b49ab72 100644 --- a/mt7915/main.c +++ b/mt7915/main.c @@ -240,7 +240,7 @@ static void mt7915_remove_interface(struct ieee80211_hw *hw, mutex_lock(&dev->mt76.mutex); phy->mt76->vif_mask &= ~BIT(mvif->idx); - phy->omac_mask &= ~BIT(mvif->omac_idx); + phy->omac_mask &= ~BIT_ULL(mvif->omac_idx); mutex_unlock(&dev->mt76.mutex); spin_lock_bh(&dev->sta_poll_lock);