diff options
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index b4973a1b6595..5667f4e8067f 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -905,14 +905,6 @@ int ieee80211_register_hw(struct ieee80211_hw *hw) | |||
905 | 905 | ||
906 | local->hw.conf.listen_interval = local->hw.max_listen_interval; | 906 | local->hw.conf.listen_interval = local->hw.max_listen_interval; |
907 | 907 | ||
908 | local->wstats_flags |= local->hw.flags & (IEEE80211_HW_SIGNAL_UNSPEC | | ||
909 | IEEE80211_HW_SIGNAL_DBM) ? | ||
910 | IW_QUAL_QUAL_UPDATED : IW_QUAL_QUAL_INVALID; | ||
911 | local->wstats_flags |= local->hw.flags & IEEE80211_HW_NOISE_DBM ? | ||
912 | IW_QUAL_NOISE_UPDATED : IW_QUAL_NOISE_INVALID; | ||
913 | if (local->hw.flags & IEEE80211_HW_SIGNAL_DBM) | ||
914 | local->wstats_flags |= IW_QUAL_DBM; | ||
915 | |||
916 | result = sta_info_start(local); | 908 | result = sta_info_start(local); |
917 | if (result < 0) | 909 | if (result < 0) |
918 | goto fail_sta_info; | 910 | goto fail_sta_info; |