summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authordamien <damien@FreeBSD.org>2005-11-29 21:36:15 +0000
committerdamien <damien@FreeBSD.org>2005-11-29 21:36:15 +0000
commita171173570b69816d25bed8c87e298cba5b0aab0 (patch)
treec12c0fb644563482c1d2c5c5b78da2aeac081136 /sys/dev
parent9b056fbbf502df672158194dfa6883a3146c8096 (diff)
downloadFreeBSD-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@)
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/if_ural.c2
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);
OpenPOWER on IntegriCloud