diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2008-12-29 13:59:01 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2008-12-29 13:59:01 +0000 |
commit | e732b523f79346fcb09ab6a7b5a1b7e1698a7f89 (patch) | |
tree | f0747b3ff69346f783619972193b5f0a9a32f3ba | |
parent | 8267a6e17f31147b827f5e7d68974ccc56d5b35d (diff) |
properly update RT2860_TX_RTS_CFG
-rw-r--r-- | sys/dev/ic/rt2860.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/rt2860.c b/sys/dev/ic/rt2860.c index b457a7fe165..56b1c9642b6 100644 --- a/sys/dev/ic/rt2860.c +++ b/sys/dev/ic/rt2860.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rt2860.c,v 1.30 2008/12/29 13:27:27 damien Exp $ */ +/* $OpenBSD: rt2860.c,v 1.31 2008/12/29 13:59:00 damien Exp $ */ /*- * Copyright (c) 2007, 2008 @@ -2894,6 +2894,7 @@ rt2860_init(struct ifnet *ifp) tmp = RAL_READ(sc, RT2860_TX_RTS_CFG); tmp &= ~0xffff00; tmp |= ic->ic_rtsthreshold << 8; + RAL_WRITE(sc, RT2860_TX_RTS_CFG, tmp); /* setup initial protection mode */ sc->sc_ic_flags = ic->ic_flags; |