diff options
-rw-r--r-- | sys/dev/ic/rtw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/rtw.c b/sys/dev/ic/rtw.c index 00f0b84bc73..6635b02042b 100644 --- a/sys/dev/ic/rtw.c +++ b/sys/dev/ic/rtw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtw.c,v 1.69 2008/08/27 09:05:03 damien Exp $ */ +/* $OpenBSD: rtw.c,v 1.70 2008/08/27 10:29:53 damien Exp $ */ /* $NetBSD: rtw.c,v 1.29 2004/12/27 19:49:16 dyoung Exp $ */ /*- @@ -1273,10 +1273,10 @@ rtw_intr_rx(struct rtw_softc *sc, u_int16_t isr) rr->rr_tsft = htole64(((uint64_t)htsfth << 32) | htsftl); + rr->rr_flags = 0; if ((hstat & RTW_RXSTAT_SPLCP) != 0) - rr->rr_flags = IEEE80211_RADIOTAP_F_SHORTPRE; + rr->rr_flags |= IEEE80211_RADIOTAP_F_SHORTPRE; - rr->rr_flags = 0; rr->rr_rate = rate; rr->rr_chan_freq = htole16(ic->ic_bss->ni_chan->ic_freq); |