提交 54c7c91e 编写于 作者: J John W. Linville

ath5k: remove usage of deprecated noise value

Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 5d6566ff
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册