Fix tag endianness in mt7996_mcu_wed_rro_event routine Signed-off-by: Lorenzo Bianconi <lorenzo@xxxxxxxxxx> --- drivers/net/wireless/mediatek/mt76/mt7996/mcu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt7996/mcu.c b/drivers/net/wireless/mediatek/mt76/mt7996/mcu.c index 61de5e041627..03a9474120b7 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7996/mcu.c +++ b/drivers/net/wireless/mediatek/mt76/mt7996/mcu.c @@ -536,7 +536,7 @@ mt7996_mcu_wed_rro_event(struct mt7996_dev *dev, struct sk_buff *skb) skb_pull(skb, sizeof(struct mt7996_mcu_rxd) + 4); - switch (event->tag) { + switch (le16_to_cpu(event->tag)) { case UNI_WED_RRO_BA_SESSION_STATUS: { struct mt7996_mcu_wed_rro_ba_event *e; -- 2.42.0