diff options
author | damien <damien@FreeBSD.org> | 2005-11-29 21:36:15 +0000 |
---|---|---|
committer | damien <damien@FreeBSD.org> | 2005-11-29 21:36:15 +0000 |
commit | a171173570b69816d25bed8c87e298cba5b0aab0 (patch) | |
tree | c12c0fb644563482c1d2c5c5b78da2aeac081136 | |
parent | 9b056fbbf502df672158194dfa6883a3146c8096 (diff) | |
download | FreeBSD-src-a171173570b69816d25bed8c87e298cba5b0aab0.zip FreeBSD-src-a171173570b69816d25bed8c87e298cba5b0aab0.tar.gz |
Tell Rx radiotap that hardware leaves FCS at the end of the frame.
Obtained from: NetBSD (drochner@)
-rw-r--r-- | sys/dev/usb/if_ural.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/if_ural.c b/sys/dev/usb/if_ural.c index 6f1cd83..f0fc682 100644 --- a/sys/dev/usb/if_ural.c +++ b/sys/dev/usb/if_ural.c @@ -955,7 +955,7 @@ ural_rxeof(usbd_xfer_handle xfer, usbd_private_handle priv, usbd_status status) if (sc->sc_drvbpf != NULL) { struct ural_rx_radiotap_header *tap = &sc->sc_rxtap; - tap->wr_flags = 0; + tap->wr_flags = IEEE80211_RADIOTAP_F_FCS; tap->wr_rate = ural_rxrate(desc); tap->wr_chan_freq = htole16(ic->ic_ibss_chan->ic_freq); tap->wr_chan_flags = htole16(ic->ic_ibss_chan->ic_flags); |