summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authoronoe <onoe@NetBSD.org>2001-09-18 23:19:08 +0000
committeronoe <onoe@NetBSD.org>2001-09-18 23:19:08 +0000
commit8496cf2bd8f0ac0b379ea4cf6e93e68f14089ecc (patch)
treea87e317a2934bb03b2959b2e2bae1b5e33442be5 /sys
parent849eac52f2e0be6b77cf5756053a9984996edf81 (diff)
Fix register offset of SYNC_SET for FH phy.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/awi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/awi.c b/sys/dev/ic/awi.c
index 22d6e97a5aa..175d8d36398 100644
--- a/sys/dev/ic/awi.c
+++ b/sys/dev/ic/awi.c
@@ -1,4 +1,4 @@
-/* $NetBSD: awi.c,v 1.37 2001/09/18 09:09:58 onoe Exp $ */
+/* $NetBSD: awi.c,v 1.38 2001/09/18 23:19:08 onoe Exp $ */
/*-
* Copyright (c) 1999,2000,2001 The NetBSD Foundation, Inc.
@@ -1860,9 +1860,9 @@ awi_newstate(void *arg, enum ieee80211_state nstate)
sc->sc_cmd_inprog = AWI_CMD_SYNC;
if (sc->sc_mib_phy.IEEE_PHY_Type == AWI_PHY_TYPE_FH) {
if (sc->sc_fhset_one)
- awi_write_1(sc, AWI_CA_SCAN_SET, 1);
+ awi_write_1(sc, AWI_CA_SYNC_SET, 1);
else
- awi_write_1(sc, AWI_CA_SCAN_SET,
+ awi_write_1(sc, AWI_CA_SYNC_SET,
bs->bs_chan % 3 + 1);
awi_write_1(sc, AWI_CA_SYNC_IDX, 1);
} else {