From 6789a2db7246564465debda289276ee2972d8d3d Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 9 Jul 2020 22:06:31 +0200 Subject: [PATCH] mt7615: fix getting wideband RSSI in test mode Signed-off-by: Felix Fietkau --- mt7615/mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mt7615/mac.c b/mt7615/mac.c index 9d74a655..2d432d05 100644 --- a/mt7615/mac.c +++ b/mt7615/mac.c @@ -216,7 +216,7 @@ static void mt7615_mac_fill_tm_rx(struct mt7615_dev *dev, __le32 *rxv) dev->test.last_rcpi[2] = FIELD_GET(MT_RXV4_RCPI2, rxv4); dev->test.last_rcpi[3] = FIELD_GET(MT_RXV4_RCPI3, rxv4); dev->test.last_ib_rssi = FIELD_GET(MT_RXV3_IB_RSSI, rxv3); - dev->test.last_ib_rssi = FIELD_GET(MT_RXV3_WB_RSSI, rxv3); + dev->test.last_wb_rssi = FIELD_GET(MT_RXV3_WB_RSSI, rxv3); #endif }