mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
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 <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user