Skip to content

Commit a2c36e9

Browse files
committed
wifi: mt76: mt7925: Fix logical vs bitwise typo
JIRA: https://issues.redhat.com/browse/RHEL-89168 commit 8822411 Author: Dan Carpenter <dan.carpenter@linaro.org> Date: Fri Mar 21 17:35:40 2025 +0300 wifi: mt76: mt7925: Fix logical vs bitwise typo This was supposed to be & instead of &&. Fixes: f031721 ("wifi: mt76: mt7925: add EHT control support based on the CLC data") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://patch.msgid.link/d323a443-4e81-4064-8563-b62274b53ef4@stanley.mountain Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
1 parent e01f0f7 commit a2c36e9

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/wireless/mediatek/mt76/mt7925

1 file changed

+1
-1
lines changed

drivers/net/wireless/mediatek/mt76/mt7925/init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ void mt7925_regd_be_ctrl(struct mt792x_dev *dev, u8 *alpha2)
8989
}
9090

9191
/* Check the last one */
92-
if (rule->flag && BIT(0))
92+
if (rule->flag & BIT(0))
9393
break;
9494

9595
pos += sizeof(*rule);

0 commit comments

Comments
 (0)