mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: mt7996: fix endianness in mt7996_mcu_wed_rro_event
Fix tag endianness in mt7996_mcu_wed_rro_event routine Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
9c7b98c031
commit
4423b4eb69
+1
-1
@@ -628,7 +628,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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user