wifi: mt76: mt7925: Fix logical vs bitwise typo

This was supposed to be & instead of &&.

Fixes: f0317215b3 ("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>
This commit is contained in:
Dan Carpenter 2025-03-21 17:35:40 +03:00 committed by Felix Fietkau
parent 1529e335f9
commit 8822411986

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);