Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openwrt/mt76.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mt76x0
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2019-10-16 17:14:12 +0300
committerFelix Fietkau <nbd@nbd.name>2019-11-20 14:58:37 +0300
commit502d09a6e806cd3d005085fa8cef0873547afbce (patch)
treeccc2515cde70dd86c763131b604eed942327db69 /mt76x0
parent9e95fa6208a2e1e2103df35294b4fa67defc7f2a (diff)
mt76: add multiple wiphy support to mt76_get_min_avg_rssi
Allow tracking clients of both wiphys separately Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'mt76x0')
-rw-r--r--mt76x0/phy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mt76x0/phy.c b/mt76x0/phy.c
index 941a76db..40e296e1 100644
--- a/mt76x0/phy.c
+++ b/mt76x0/phy.c
@@ -1077,7 +1077,7 @@ mt76x0_phy_update_channel_gain(struct mt76x02_dev *dev)
u8 gain_delta;
int low_gain;
- dev->cal.avg_rssi_all = mt76_get_min_avg_rssi(&dev->mt76);
+ dev->cal.avg_rssi_all = mt76_get_min_avg_rssi(&dev->mt76, false);
if (!dev->cal.avg_rssi_all)
dev->cal.avg_rssi_all = -75;