projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
078b6d2
)
mt76: mt7915: use BIT_ULL for omac_idx
author
Ryder Lee
<ryder.lee@mediatek.com>
Thu, 29 Oct 2020 17:11:15 +0000
(
01:11
+0800)
committer
Felix Fietkau
<nbd@nbd.name>
Fri, 4 Dec 2020 13:31:13 +0000
(14:31 +0100)
The omac_idx variable is u64 so we should use the 64-bit BIT_ULL().
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/main.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/mt7915/main.c
b/drivers/net/wireless/mediatek/mt76/mt7915/main.c
index
92f860b
..
c0361c2
100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/mt7915/main.c
+++ b/
drivers/net/wireless/mediatek/mt76/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);