nl80211: Actually get and store TX retries
Fix an issue that results in TX failures being stored where TX retries
belongs.
Fixes: ad4fa5dd3c
("Add more nl80211 info to struct wpa_signal_info")
Signed-off-by: David Ruth <druth@chromium.org>
This commit is contained in:
parent
998aeca3c8
commit
2749a2c6bf
1 changed files with 1 additions and 1 deletions
|
@ -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]);
|
||||
|
|
Loading…
Reference in a new issue