diff options
Diffstat (limited to 'net/wireless/nl80211.c')
-rw-r--r-- | net/wireless/nl80211.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index 56508d40c740..2cf03331d4a2 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c | |||
@@ -1896,6 +1896,9 @@ static int nl80211_send_station(struct sk_buff *msg, u32 pid, u32 seq, | |||
1896 | if (sinfo->filled & STATION_INFO_SIGNAL) | 1896 | if (sinfo->filled & STATION_INFO_SIGNAL) |
1897 | NLA_PUT_U8(msg, NL80211_STA_INFO_SIGNAL, | 1897 | NLA_PUT_U8(msg, NL80211_STA_INFO_SIGNAL, |
1898 | sinfo->signal); | 1898 | sinfo->signal); |
1899 | if (sinfo->filled & STATION_INFO_SIGNAL_AVG) | ||
1900 | NLA_PUT_U8(msg, NL80211_STA_INFO_SIGNAL_AVG, | ||
1901 | sinfo->signal_avg); | ||
1899 | if (sinfo->filled & STATION_INFO_TX_BITRATE) { | 1902 | if (sinfo->filled & STATION_INFO_TX_BITRATE) { |
1900 | txrate = nla_nest_start(msg, NL80211_STA_INFO_TX_BITRATE); | 1903 | txrate = nla_nest_start(msg, NL80211_STA_INFO_TX_BITRATE); |
1901 | if (!txrate) | 1904 | if (!txrate) |