]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
wifi: mt76: mt7996: fix alignment of sta info event
authorStanleyYP Wang <StanleyYP.Wang@mediatek.com>
Thu, 2 Nov 2023 10:02:59 +0000 (18:02 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jan 2024 23:44:49 +0000 (15:44 -0800)
[ Upstream commit d58a9778f7ca0634622d2fc2e9f76163467bdf5b ]

Fix the alignment of struct mt7996_mcu_all_sta_info_event.

Fixes: adde3eed4a75 ("wifi: mt76: mt7996: Add mcu commands for getting sta tx statistic")
Signed-off-by: StanleyYP Wang <StanleyYP.Wang@mediatek.com>
Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/mediatek/mt76/mt7996/mcu.h

index ebe96a85ca9e8f62446f212f284849ecef6bc3b0..14c0dd31387a2cd14fd227fc1a0a5e734c84a8c4 100644 (file)
@@ -160,7 +160,7 @@ struct mt7996_mcu_all_sta_info_event {
        u8 more;
        u8 rsv2;
        __le16 sta_num;
-       u8 rsv3[2];
+       u8 rsv3[4];
 
        union {
                struct {