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:
Dan Carpenter
2025-04-11 11:07:14 +02:00
committed by Felix Fietkau
parent a19543c7e0
commit b0cf33e76a
+1 -1
View File
@@ -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);