mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02:00
wifi: mt76: mt7921: Add missing __packed annotation of struct mt7921_clc
[ Upstream commite5c6bc6f19] Add __packed annotation to avoid potential CLC parsing error Fixes:23bdc5d8ca("wifi: mt76: mt7921: introduce Country Location Control support") Signed-off-by: Deren Wu <deren.wu@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
eb91025565
commit
52f7e23926
|
|
@ -171,7 +171,7 @@ struct mt7921_clc {
|
|||
u8 type;
|
||||
u8 rsv[8];
|
||||
u8 data[];
|
||||
};
|
||||
} __packed;
|
||||
|
||||
struct mt7921_phy {
|
||||
struct mt76_phy *mt76;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user