diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-04-26 20:09:19 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-28 20:48:20 (GMT) |
commit | 54c7c91e659f657afa13315189965ecd8ba11d9d (patch) | |
tree | eec434e109fee1e09c4670f6e33df14df97ff0bb /drivers/net/wireless/ath/ath5k/base.c | |
parent | 5d6566ff356a19fb6ad994717cb937ff88063fa6 (diff) | |
download | linux-fsl-qoriq-54c7c91e659f657afa13315189965ecd8ba11d9d.tar.xz |
ath5k: remove usage of deprecated noise value
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/base.c')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/base.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c index a49ede7..1f3e5b0 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; |