diff options
Diffstat (limited to 'net/wireless/nl80211.c')
-rw-r--r-- | net/wireless/nl80211.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index 9942f0b061ff..524f55402838 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c | |||
@@ -1890,6 +1890,12 @@ static int nl80211_send_station(struct sk_buff *msg, u32 pid, u32 seq, | |||
1890 | if (sinfo->filled & STATION_INFO_TX_PACKETS) | 1890 | if (sinfo->filled & STATION_INFO_TX_PACKETS) |
1891 | NLA_PUT_U32(msg, NL80211_STA_INFO_TX_PACKETS, | 1891 | NLA_PUT_U32(msg, NL80211_STA_INFO_TX_PACKETS, |
1892 | sinfo->tx_packets); | 1892 | sinfo->tx_packets); |
1893 | if (sinfo->filled & STATION_INFO_TX_RETRIES) | ||
1894 | NLA_PUT_U32(msg, NL80211_STA_INFO_TX_RETRIES, | ||
1895 | sinfo->tx_retries); | ||
1896 | if (sinfo->filled & STATION_INFO_TX_FAILED) | ||
1897 | NLA_PUT_U32(msg, NL80211_STA_INFO_TX_FAILED, | ||
1898 | sinfo->tx_failed); | ||
1893 | nla_nest_end(msg, sinfoattr); | 1899 | nla_nest_end(msg, sinfoattr); |
1894 | 1900 | ||
1895 | return genlmsg_end(msg, hdr); | 1901 | return genlmsg_end(msg, hdr); |