Ver Fonte

ath5k: remove usage of deprecated noise value

Signed-off-by: John W. Linville <linville@tuxdriver.com>
John W. Linville há 15 anos atrás
pai
commit
54c7c91e65
1 ficheiros alterados com 1 adições e 2 exclusões
  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;