summaryrefslogtreecommitdiff
path: root/sys/dev/ic/rtwn.c
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2017-08-20 15:05:33 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2017-08-20 15:05:33 +0000
commit31c026117dace6794c1d41ba1dc9f28d960289b0 (patch)
tree30d45e1d6d3a7e7ba2dd0a022420c304c76250bb /sys/dev/ic/rtwn.c
parentacf9fadc4a8eab0d001c621b50386ffd25a0f4e1 (diff)
Surprise: I/Q calibration now works with urtwn(4) devices, so enable it.
Tested with 8188CUS, 8188EU, and 8192CU.
Diffstat (limited to 'sys/dev/ic/rtwn.c')
-rw-r--r--sys/dev/ic/rtwn.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/ic/rtwn.c b/sys/dev/ic/rtwn.c
index 6824b4495e8..2656636690a 100644
--- a/sys/dev/ic/rtwn.c
+++ b/sys/dev/ic/rtwn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtwn.c,v 1.30 2017/08/20 14:53:06 stsp Exp $ */
+/* $OpenBSD: rtwn.c,v 1.31 2017/08/20 15:05:32 stsp Exp $ */
/*-
* Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr>
@@ -2488,10 +2488,6 @@ rtwn_iq_calib(struct rtwn_softc *sc)
int n, valid;
struct rtwn_iq_cal_regs regs;
- /* FIXME IQ calib breaks Rx on USB devices. */
- if (sc->chip & RTWN_CHIP_USB)
- return;
-
valid = 0;
memset(&regs, 0, sizeof(regs));
for (n = 0; n < RTWN_IQ_CAL_NRUN; n++) {