Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175551
b: refs/heads/master
c: 19deffb
h: refs/heads/master
i:
  175549: d74ad71
  175547: 0233056
  175543: c1785c1
  175535: a682e2b
  175519: 6d7f19f
  175487: 2ee41da
v: v3
  • Loading branch information
John W. Linville committed Dec 9, 2009
1 parent c672a5c commit 58d0d90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d55fb891f9da8ee17374349ff482b2715623b7e5
refs/heads/master: 19deffbeba930030cfaf000b920333c6ba99ad52
3 changes: 2 additions & 1 deletion trunk/net/mac80211/cfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 58d0d90

Please sign in to comment.