mirror of https://gitee.com/openkylin/linux.git
ath5k: remove usage of deprecated noise value
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
5d6566ff35
commit
54c7c91e65
|
@ -2029,8 +2029,7 @@ ath5k_tasklet_rx(unsigned long data)
|
|||
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue