Since GET_STATION (and in turn GetDiagnostics) gets the most current station info this attribute serves as a better indication of the current signal strength. In addition full mac cards don't appear to always have the average attribute. --- src/netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/netdev.c b/src/netdev.c index 1f2aa51c..e0779de5 100644 --- a/src/netdev.c +++ b/src/netdev.c @@ -443,7 +443,7 @@ static bool netdev_parse_sta_info(struct l_genl_attr *attr, while (l_genl_attr_next(attr, &type, &len, &data)) { switch (type) { - case NL80211_STA_INFO_SIGNAL_AVG: + case NL80211_STA_INFO_SIGNAL: if (len != 1) return false; -- 2.26.2