Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb tell bpf radiotap consumers that the FCS is appe...



details:   https://anonhg.NetBSD.org/src/rev/e9fb947997f6
branches:  trunk
changeset: 582954:e9fb947997f6
user:      drochner <drochner%NetBSD.org@localhost>
date:      Tue Jul 12 12:51:03 2005 +0000

description:
tell bpf radiotap consumers that the FCS is appended

diffstat:

 sys/dev/usb/if_ural.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9ec3ea0f3b1e -r e9fb947997f6 sys/dev/usb/if_ural.c
--- a/sys/dev/usb/if_ural.c     Tue Jul 12 12:46:37 2005 +0000
+++ b/sys/dev/usb/if_ural.c     Tue Jul 12 12:51:03 2005 +0000
@@ -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 @@
        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;



Home | Main Index | Thread Index | Old Index