diff options
| author | Brian Feldman <green@FreeBSD.org> | 2004-03-17 21:54:52 +0000 |
|---|---|---|
| committer | Brian Feldman <green@FreeBSD.org> | 2004-03-17 21:54:52 +0000 |
| commit | 7e7a65a6fa468b2b40b1467681069901be8c11be (patch) | |
| tree | 7a180ae26c21b50174a7d61905afabec0cfe852c | |
| parent | e5ada020f180e7f5928cf76ef9835601d956aae7 (diff) | |
Notes
| -rw-r--r-- | sys/dev/wi/if_wi.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c index d8a83a281ed1..d26577fd0e77 100644 --- a/sys/dev/wi/if_wi.c +++ b/sys/dev/wi/if_wi.c @@ -1490,10 +1490,8 @@ wi_rx_intr(struct wi_softc *sc) if (sc->sc_drvbpf) { /* XXX replace divide by table */ sc->sc_rx_th.wr_rate = frmhdr.wi_rx_rate / 5; - sc->sc_rx_th.wr_antsignal = - WI_RSSI_TO_DBM(sc, frmhdr.wi_rx_signal); - sc->sc_rx_th.wr_antnoise = - WI_RSSI_TO_DBM(sc, frmhdr.wi_rx_silence); + sc->sc_rx_th.wr_antsignal = frmhdr.wi_rx_signal; + sc->sc_rx_th.wr_antnoise = frmhdr.wi_rx_silence; sc->sc_rx_th.wr_flags = 0; if (frmhdr.wi_status & WI_STAT_PCF) sc->sc_rx_th.wr_flags |= IEEE80211_RADIOTAP_F_CFP; |
