summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ral.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/ral.c')
-rw-r--r--sys/dev/ic/ral.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/ral.c b/sys/dev/ic/ral.c
index 75a004cb8cb..d59e48c960f 100644
--- a/sys/dev/ic/ral.c
+++ b/sys/dev/ic/ral.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ral.c,v 1.34 2005/03/17 19:45:53 damien Exp $ */
+/* $OpenBSD: ral.c,v 1.35 2005/03/17 19:51:29 damien Exp $ */
/*-
* Copyright (c) 2005
@@ -2301,7 +2301,7 @@ ral_enable_tsf_sync(struct ral_softc *sc)
RAL_WRITE(sc, RAL_CSR13, 0);
logcwmin = 5;
- preload = (ic->ic_opmode == IEEE80211_M_IBSS) ? 1024 : 384;
+ preload = (ic->ic_opmode == IEEE80211_M_STA) ? 384 : 1024;
tmp = logcwmin << 16 | preload;
RAL_WRITE(sc, RAL_BCNCSR1, tmp);