diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2005-03-01 19:38:10 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2005-03-01 19:38:10 +0000 |
commit | 5f390debec59935a3236b251b413b0a249b82c0c (patch) | |
tree | a3ab12bb4be0860ad56127cef4dceed9b3b3ada6 /sys/dev/ic/ral.c | |
parent | d6d2cfd1949bcdd11d2835821c14ff82eea463fa (diff) |
use one uint64_t instead of two uint32_t in rx radiotap header.
Diffstat (limited to 'sys/dev/ic/ral.c')
-rw-r--r-- | sys/dev/ic/ral.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/ral.c b/sys/dev/ic/ral.c index 15e3c7ed345..326a47fe63e 100644 --- a/sys/dev/ic/ral.c +++ b/sys/dev/ic/ral.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ral.c,v 1.15 2005/02/28 17:49:22 damien Exp $ */ +/* $OpenBSD: ral.c,v 1.16 2005/03/01 19:38:09 damien Exp $ */ /*- * Copyright (c) 2005 @@ -1231,8 +1231,8 @@ ral_decryption_intr(struct ral_softc *sc) tsf_lo = RAL_READ(sc, RAL_CSR16); tsf_hi = RAL_READ(sc, RAL_CSR17); - tap->wr_tsf_lo = htole32(tsf_lo); - tap->wr_tsf_hi = htole32(tsf_hi); + tap->wr_tsf = + htole64(((uint64_t)tsf_hi << 32) | tsf_lo); tap->wr_flags = 0; tap->wr_chan_freq = htole16(ic->ic_ibss_chan->ic_freq); tap->wr_chan_flags = |