summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2011-01-05 21:31:35 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2011-01-05 21:31:35 +0000
commite9fce282e0fb9f76c4d981aa742ae401bcbe85a0 (patch)
treec0abc4bd5f85b7404cc7608b444e7cbfc3f9731d
parent0d1fae15d28c8ef4dfdc0e77009a8d4d7ce69406 (diff)
cosmetic, no binary change.
-rw-r--r--sys/dev/ic/ar9380.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/ar9380.c b/sys/dev/ic/ar9380.c
index b52676470a3..be736aba06f 100644
--- a/sys/dev/ic/ar9380.c
+++ b/sys/dev/ic/ar9380.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ar9380.c,v 1.12 2011/01/01 14:25:03 damien Exp $ */
+/* $OpenBSD: ar9380.c,v 1.13 2011/01/05 21:31:34 damien Exp $ */
/*-
* Copyright (c) 2011 Damien Bergamini <damien.bergamini@free.fr>
@@ -491,7 +491,7 @@ ar9485_init_swreg(struct athn_softc *sc)
ar9485_pmu_write(sc, AR_PHY_PMU2, reg);
} else {
ar9485_pmu_write(sc, AR_PHY_PMU1,
- AR_READ(sc, AR_PHY_PMU1) | AR_PHY_PMU1_PWD);
+ ar9486_pmu_read(sc, AR_PHY_PMU1) | AR_PHY_PMU1_PWD);
}
ar9485_pmu_write(sc, AR_PHY_PMU2,