Browse Source

ath5k: remove usage of deprecated noise value

Signed-off-by: John W. Linville <linville@tuxdriver.com>
John W. Linville 15 years ago
parent
commit
54c7c91e65
1 changed files with 1 additions and 2 deletions
  1. 1 2
      drivers/net/wireless/ath/ath5k/base.c

+ 1 - 2
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;