summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/ar5211.c
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2007-11-01 20:32:16 +0000
committerreyk <reyk@openbsd.org>2007-11-01 20:32:16 +0000
commit0772b23c4cb33d9ddbeee9ca1b5d35e2d37915f2 (patch)
tree7a912ca5679f7a938209f598b624c84c3639cabd /sys/dev/ic/ar5211.c
parentchio(1), not chio(8); (diff)
downloadwireguard-openbsd-0772b23c4cb33d9ddbeee9ca1b5d35e2d37915f2.tar.xz
wireguard-openbsd-0772b23c4cb33d9ddbeee9ca1b5d35e2d37915f2.zip
backout last "fix" because it breaks operation on some devices. even
if the fix looks right, it seems to expose another problem that i haven't found yet. figured out by Denis Doroshenko at gmail dot com
Diffstat (limited to 'sys/dev/ic/ar5211.c')
-rw-r--r--sys/dev/ic/ar5211.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/ar5211.c b/sys/dev/ic/ar5211.c
index d9b2d5d7137..e50e595c800 100644
--- a/sys/dev/ic/ar5211.c
+++ b/sys/dev/ic/ar5211.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ar5211.c,v 1.35 2007/10/29 09:39:35 reyk Exp $ */
+/* $OpenBSD: ar5211.c,v 1.36 2007/11/01 20:32:16 reyk Exp $ */
/*
* Copyright (c) 2004, 2005, 2006, 2007 Reyk Floeter <reyk@openbsd.org>
@@ -1195,7 +1195,9 @@ ar5k_ar5211_fill_tx_desc(struct ath_hal *hal, struct ath_desc *desc,
if (segment_length & ~AR5K_AR5211_DESC_TX_CTL1_BUF_LEN)
return (AH_FALSE);
tx_desc->tx_control_1 =
+#if 0
(tx_desc->tx_control_1 & ~AR5K_AR5211_DESC_TX_CTL1_BUF_LEN) |
+#endif
segment_length;
if (first_segment != AH_TRUE)