diff options
Diffstat (limited to 'net/wireless')
-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 67b18b3a93a0..badccf98074e 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c | |||
@@ -1206,6 +1206,12 @@ static int nl80211_send_station(struct sk_buff *msg, u32 pid, u32 seq, | |||
1206 | 1206 | ||
1207 | nla_nest_end(msg, txrate); | 1207 | nla_nest_end(msg, txrate); |
1208 | } | 1208 | } |
1209 | if (sinfo->filled & STATION_INFO_RX_PACKETS) | ||
1210 | NLA_PUT_U32(msg, NL80211_STA_INFO_RX_PACKETS, | ||
1211 | sinfo->rx_packets); | ||
1212 | if (sinfo->filled & STATION_INFO_TX_PACKETS) | ||
1213 | NLA_PUT_U32(msg, NL80211_STA_INFO_TX_PACKETS, | ||
1214 | sinfo->tx_packets); | ||
1209 | nla_nest_end(msg, sinfoattr); | 1215 | nla_nest_end(msg, sinfoattr); |
1210 | 1216 | ||
1211 | return genlmsg_end(msg, hdr); | 1217 | return genlmsg_end(msg, hdr); |