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 <[email protected]>
Signed-off-by: Lorenzo Bianconi <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Sean Wang
2021-03-12 13:27:33 +01:00
committed by Felix Fietkau
parent c267322f0b
commit fd2c59d9ba
+1 -1
View File
@@ -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;