summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2009-11-25 19:53:38 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2009-11-25 19:53:38 +0000
commite68e5455bb07fc8be8d991e32129db9c7befce27 (patch)
tree3fbd6984280a4b00651420e4bb6bcf187e2d663c /sys/dev/ic
parent0f13f511e1542f53c2ea9bf5610866528b7a6dac (diff)
fix previous
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/athn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/athn.c b/sys/dev/ic/athn.c
index 1f7b616b47f..bcf02dbf8e9 100644
--- a/sys/dev/ic/athn.c
+++ b/sys/dev/ic/athn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: athn.c,v 1.19 2009/11/25 17:54:37 damien Exp $ */
+/* $OpenBSD: athn.c,v 1.20 2009/11/25 19:53:37 damien Exp $ */
/*-
* Copyright (c) 2009 Damien Bergamini <damien.bergamini@free.fr>
@@ -2804,7 +2804,7 @@ athn_inc_tx_trigger_level(struct athn_softc *sc)
* NB: The AR9285 and all single-stream parts have an issue that
* limits the size of the PCU Tx FIFO to 2KB instead of 4KB.
*/
- if (ftrig == AR_SREV_9285(sc) ? 0x1f : 0x3f)
+ if (ftrig == (AR_SREV_9285(sc) ? 0x1f : 0x3f))
return; /* Already at max. */
reg = RW(reg, AR_TXCFG_FTRIG, ftrig + 1);
AR_WRITE(sc, AR_TXCFG, reg);