diff options
author | David S. Miller <davem@davemloft.net> | 2009-12-11 14:19:31 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-11 14:19:31 -0800 |
commit | ba2dca91f000e4796c23d14834680dd90528842f (patch) | |
tree | fd27c7383f779c1276bed7a1ddaea81efc4395a2 /net/mac80211/cfg.c | |
parent | c557c15d83ea16e6c1a043c8eccb0f60bb19cb96 (diff) | |
parent | 65182b9fb004220f250d4269c864cf0f1f372e85 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r-- | net/mac80211/cfg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index 93ee1fd5c08..6dc3579c0ac 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c @@ -354,7 +354,8 @@ static void sta_set_sinfo(struct sta_info *sta, struct station_info *sinfo) sinfo->rx_packets = sta->rx_packets; sinfo->tx_packets = sta->tx_packets; - if (sta->local->hw.flags & IEEE80211_HW_SIGNAL_DBM) { + if ((sta->local->hw.flags & IEEE80211_HW_SIGNAL_DBM) || + (sta->local->hw.flags & IEEE80211_HW_SIGNAL_UNSPEC)) { sinfo->filled |= STATION_INFO_SIGNAL; sinfo->signal = (s8)sta->last_signal; } |