mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: mt7925: Fix logical vs bitwise typo
This was supposed to be & instead of &&.
Fixes: f0317215b367 ("wifi: mt76: mt7925: add EHT control support based on the CLC data")
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
a19543c7e0
commit
b0cf33e76a
+1
-1
@@ -89,7 +89,7 @@ void mt7925_regd_be_ctrl(struct mt792x_dev *dev, u8 *alpha2)
|
||||
}
|
||||
|
||||
/* Check the last one */
|
||||
if (rule->flag && BIT(0))
|
||||
if (rule->flag & BIT(0))
|
||||
break;
|
||||
|
||||
pos += sizeof(*rule);
|
||||
|
||||
Reference in New Issue
Block a user