diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2010-02-08 20:21:36 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2010-02-08 20:21:36 +0000 |
commit | 4b747f243c1d9c2f2b1e538acc54008304a31878 (patch) | |
tree | 995bc3a2ff5396ca44e0918277cf93fe128f938f /sys/dev | |
parent | bd5a2a0458886f83c8f6c0f9734c2f281dd2eae6 (diff) |
remove redundant bits.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/usb/if_run.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/usb/if_run.c b/sys/dev/usb/if_run.c index 01e8c1cd13f..fb7185eeb0b 100644 --- a/sys/dev/usb/if_run.c +++ b/sys/dev/usb/if_run.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_run.c,v 1.55 2010/02/08 20:15:15 damien Exp $ */ +/* $OpenBSD: if_run.c,v 1.56 2010/02/08 20:21:35 damien Exp $ */ /*- * Copyright (c) 2008-2010 Damien Bergamini <damien.bergamini@free.fr> @@ -3158,14 +3158,6 @@ run_rt3070_rf_setup(struct run_softc *sc) run_bbp_write(sc, 31, bbp & ~0x03); } - run_rt3070_rf_read(sc, 17, &rf); - rf &= ~RT3070_TX_LO1; - if (!sc->ext_2ghz_lna) - rf |= 0x20; /* fix for long range Rx issue */ - if (sc->txmixgain_2ghz >= 1) - rf = (rf & ~0x07) | sc->txmixgain_2ghz; - run_rt3070_rf_write(sc, 17, rf); - if (sc->mac_rev < 0x0211) { run_write(sc, RT2860_TX_SW_CFG1, 0); run_write(sc, RT2860_TX_SW_CFG2, 0x2c); |