Fix an issue from commit ad4fa5dd3cf1168676715dcd2dea0c2c9b258d23 that results in TX Failures being stored where TX Retries belongs. Signed-off-by: David Ruth <druth@xxxxxxxxxxxx> --- src/drivers/driver_nl80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index c04b71bbe..1b76fcc4f 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -7432,7 +7432,7 @@ static int get_sta_handler(struct nl_msg *msg, void *arg) nla_get_u32(stats[NL80211_STA_INFO_TX_PACKETS]); if (stats[NL80211_STA_INFO_TX_RETRIES]) data->tx_retry_count = - nla_get_u32(stats[NL80211_STA_INFO_TX_FAILED]); + nla_get_u32(stats[NL80211_STA_INFO_TX_RETRIES]); if (stats[NL80211_STA_INFO_TX_FAILED]) data->tx_retry_failed = nla_get_u32(stats[NL80211_STA_INFO_TX_FAILED]); -- 2.39.0.rc0.267.gcb52ba06e7-goog _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap