From fd2c59d9ba465e38cc0d9d8f6f9dcebd3ffbccdf Mon Sep 17 00:00:00 2001 From: Sean Wang Date: Fri, 19 Feb 2021 18:28:48 +0100 Subject: [PATCH] mt76: mt7921: fixup rx bitrate statistics [v2 update] Since the related rx bitrate fields have been moved to group3 in Rxv, fix rx bitrate statistics in mt7921_mac_fill_rx routine. Fixes: 163f4d22c118d ("mt76: mt7921: add MAC support") Signed-off-by: Sean Wang Signed-off-by: Lorenzo Bianconi Signed-off-by: Felix Fietkau --- mt7921/mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mt7921/mac.c b/mt7921/mac.c index 9673d06a..76d5f194 100644 --- a/mt7921/mac.c +++ b/mt7921/mac.c @@ -400,8 +400,8 @@ int mt7921_mac_fill_rx(struct mt7921_dev *dev, struct sk_buff *skb) /* RXD Group 3 - P-RXV */ if (rxd1 & MT_RXD1_NORMAL_GROUP_3) { - u32 v0, v1; u8 stbc, gi; + u32 v0, v1; bool cck; rxv = rxd;