From: John W. Linville Date: Mon, 26 Apr 2010 20:09:19 +0000 (-0400) Subject: ath5k: remove usage of deprecated noise value X-Git-Tag: firefly_0821_release~9833^2~2087^2~167^2~88 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=54c7c91e659f657afa13315189965ecd8ba11d9d;p=firefly-linux-kernel-4.4.55.git ath5k: remove usage of deprecated noise value Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c index a49ede7b87b1..1f3e5b0986c7 100644 --- a/drivers/net/wireless/ath/ath5k/base.c +++ b/drivers/net/wireless/ath/ath5k/base.c @@ -2029,8 +2029,7 @@ accept: rxs->freq = sc->curchan->center_freq; rxs->band = sc->curband->band; - rxs->noise = sc->ah->ah_noise_floor; - rxs->signal = rxs->noise + rs.rs_rssi; + rxs->signal = sc->ah->ah_noise_floor + rs.rs_rssi; rxs->antenna = rs.rs_antenna;