diff options
| author | drochner <drochner@NetBSD.org> | 2005-07-12 12:51:03 +0000 |
|---|---|---|
| committer | drochner <drochner@NetBSD.org> | 2005-07-12 12:51:03 +0000 |
| commit | cf8cd482246c13d157601ea80e9bee340258f5a1 (patch) | |
| tree | 8912b8e633eaff55f5f4caad236c6d0844568333 /sys/dev | |
| parent | 2837deee7b17807217bf47dc0c554fabd258d175 (diff) | |
tell bpf radiotap consumers that the FCS is appended
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/usb/if_ural.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/if_ural.c b/sys/dev/usb/if_ural.c index 95a9776aadf..f1478b0fc9f 100644 --- a/sys/dev/usb/if_ural.c +++ b/sys/dev/usb/if_ural.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_ural.c,v 1.4 2005/07/12 12:13:00 drochner Exp $ */ +/* $NetBSD: if_ural.c,v 1.5 2005/07/12 12:51:03 drochner Exp $ */ /* $OpenBSD: if_ral.c,v 1.38 2005/07/07 08:33:22 jsg Exp $ */ /* $FreeBSD: src/sys/dev/usb/if_ural.c,v 1.9 2005/07/08 19:19:06 damien Exp $ */ @@ -25,7 +25,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_ural.c,v 1.4 2005/07/12 12:13:00 drochner Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_ural.c,v 1.5 2005/07/12 12:51:03 drochner Exp $"); #include "bpfilter.h" @@ -907,7 +907,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_chan_freq = htole16(ic->ic_ibss_chan->ic_freq); tap->wr_chan_flags = htole16(ic->ic_ibss_chan->ic_flags); tap->wr_antenna = sc->rx_ant; |
