ath5k: remove usage of deprecated noise value
authorJohn W. Linville <linville@tuxdriver.com>
Mon, 26 Apr 2010 20:09:19 +0000 (16:09 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 28 Apr 2010 20:48:20 +0000 (16:48 -0400)
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c

index a49ede7b87b130e45bf374d11a5a911e144236ac..1f3e5b0986c7ff44a6df6ff52dc536ca8269d500 100644 (file)
@@ -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;