summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/ar5212.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/ar5212.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/ar5212.c')
-rw-r--r--sys/dev/ic/ar5212.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/ar5212.c b/sys/dev/ic/ar5212.c
index 95f28a36b2f..6a52bad746c 100644
--- a/sys/dev/ic/ar5212.c
+++ b/sys/dev/ic/ar5212.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ar5212.c,v 1.41 2007/10/29 09:39:35 reyk Exp $ */
+/* $OpenBSD: ar5212.c,v 1.42 2007/11/01 20:32:16 reyk Exp $ */
/*
* Copyright (c) 2004, 2005, 2006, 2007 Reyk Floeter <reyk@openbsd.org>
@@ -1376,7 +1376,9 @@ ar5k_ar5212_fill_tx_desc(struct ath_hal *hal, struct ath_desc *desc,
if (segment_length & ~AR5K_AR5212_DESC_TX_CTL1_BUF_LEN)
return (AH_FALSE);
tx_desc->tx_control_1 =
+#if 0
(tx_desc->tx_control_1 & ~AR5K_AR5212_DESC_TX_CTL1_BUF_LEN) |
+#endif
segment_length;
if (first_segment != AH_TRUE)