summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstsp <stsp@openbsd.org>2017-08-20 15:05:32 +0000
committerstsp <stsp@openbsd.org>2017-08-20 15:05:32 +0000
commit1f3b0d0c914b39da2e40740a259c126b8b81f9b2 (patch)
tree41372654be766ecc1485f93be4cf70392e5abb54
parentNew ASN1_STRING_TABLE_add(3) manual page, based on information from (diff)
downloadwireguard-openbsd-1f3b0d0c914b39da2e40740a259c126b8b81f9b2.tar.xz
wireguard-openbsd-1f3b0d0c914b39da2e40740a259c126b8b81f9b2.zip
Surprise: I/Q calibration now works with urtwn(4) devices, so enable it.
Tested with 8188CUS, 8188EU, and 8192CU.
-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++) {