aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/main.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-01-30 05:13:06 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-09 15:03:44 -0500
commit7fee5372d814c4be9546e5c28ac0058258d8df3e (patch)
tree021aefd5c32d265f2ca6c9b379c11e0484aeba74 /net/mac80211/main.c
parent7a7dec656252a5784218a22abf76ad1cdef115d0 (diff)
mac80211: remove HW_SIGNAL_DB
Giving the signal in dB isn't much more useful to userspace than giving the signal in unspecified units. This removes some radiotap information for zd1211 (the only driver using this flag), but it helps a lot for getting cfg80211-based scanning which won't support dB, and zd1211 being dB is a little fishy anyway. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Cc: Bruno Randolf <bruno@thinktube.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r--net/mac80211/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index a109c06e8e4e..7247b303e966 100644
--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -884,7 +884,6 @@ int ieee80211_register_hw(struct ieee80211_hw *hw)
884 local->hw.conf.listen_interval = local->hw.max_listen_interval; 884 local->hw.conf.listen_interval = local->hw.max_listen_interval;
885 885
886 local->wstats_flags |= local->hw.flags & (IEEE80211_HW_SIGNAL_UNSPEC | 886 local->wstats_flags |= local->hw.flags & (IEEE80211_HW_SIGNAL_UNSPEC |
887 IEEE80211_HW_SIGNAL_DB |
888 IEEE80211_HW_SIGNAL_DBM) ? 887 IEEE80211_HW_SIGNAL_DBM) ?
889 IW_QUAL_QUAL_UPDATED : IW_QUAL_QUAL_INVALID; 888 IW_QUAL_QUAL_UPDATED : IW_QUAL_QUAL_INVALID;
890 local->wstats_flags |= local->hw.flags & IEEE80211_HW_NOISE_DBM ? 889 local->wstats_flags |= local->hw.flags & IEEE80211_HW_NOISE_DBM ?