mirror of
https://github.com/torvalds/linux.git
synced 2026-07-30 19:21:28 +02:00
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:
parent
1529e335f9
commit
8822411986
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user