aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/mac80211/patches/560-ath9k_fix_reported_signal_strength.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/patches/560-ath9k_fix_reported_signal_strength.patch b/package/mac80211/patches/560-ath9k_fix_reported_signal_strength.patch
index 2fa4c44284..2753c8705b 100644
--- a/package/mac80211/patches/560-ath9k_fix_reported_signal_strength.patch
+++ b/package/mac80211/patches/560-ath9k_fix_reported_signal_strength.patch
@@ -16,7 +16,7 @@
rx_status->freq = hw->conf.channel->center_freq;
- rx_status->signal = ATH_DEFAULT_NOISE_FLOOR + rx_stats->rs_rssi;
+
-+ if (ah->curchan)
++ if (ah->curchan && ah->curchan->noisefloor)
+ noise = ah->curchan->noisefloor;
+ else
+ noise = ATH_DEFAULT_NOISE_FLOOR;