diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2006-01-14 08:50:39 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2006-01-14 08:50:39 +0000 |
commit | c16381e6883a61c316ad8bb3335982bf58701fcb (patch) | |
tree | 73bebef25a8181a90bae1f2c1ae1394cb7805768 /sys | |
parent | 835c3bbaa4e4d31856bc04ad9240c8e5ee3e3b8e (diff) |
Correct the length of the rx radiotap to be that of the rx not tx
struct.
ok damien@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/rt2560.c | 4 | ||||
-rw-r--r-- | sys/dev/ic/rt2661.c | 4 | ||||
-rw-r--r-- | sys/dev/usb/if_ral.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ic/rt2560.c b/sys/dev/ic/rt2560.c index 4cb5c9ab694..fa3a618e66d 100644 --- a/sys/dev/ic/rt2560.c +++ b/sys/dev/ic/rt2560.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rt2560.c,v 1.8 2006/01/13 21:06:09 damien Exp $ */ +/* $OpenBSD: rt2560.c,v 1.9 2006/01/14 08:50:38 jsg Exp $ */ /*- * Copyright (c) 2005, 2006 @@ -1344,7 +1344,7 @@ rt2560_decryption_intr(struct rt2560_softc *sc) M_DUP_PKTHDR(&mb, m); mb.m_data = (caddr_t)tap; - mb.m_len = sc->sc_txtap_len; + mb.m_len = sc->sc_rxtap_len; mb.m_next = m; mb.m_pkthdr.len += mb.m_len; bpf_mtap(sc->sc_drvbpf, &mb); diff --git a/sys/dev/ic/rt2661.c b/sys/dev/ic/rt2661.c index 3f49c16c96e..6db0f3e608d 100644 --- a/sys/dev/ic/rt2661.c +++ b/sys/dev/ic/rt2661.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rt2661.c,v 1.6 2006/01/13 21:09:49 damien Exp $ */ +/* $OpenBSD: rt2661.c,v 1.7 2006/01/14 08:50:38 jsg Exp $ */ /*- * Copyright (c) 2006 @@ -1240,7 +1240,7 @@ rt2661_rx_intr(struct rt2661_softc *sc) M_DUP_PKTHDR(&mb, m); mb.m_data = (caddr_t)tap; - mb.m_len = sc->sc_txtap_len; + mb.m_len = sc->sc_rxtap_len; mb.m_next = m; mb.m_pkthdr.len += mb.m_len; bpf_mtap(sc->sc_drvbpf, &mb); diff --git a/sys/dev/usb/if_ral.c b/sys/dev/usb/if_ral.c index 040143ebd3b..87e468f383e 100644 --- a/sys/dev/usb/if_ral.c +++ b/sys/dev/usb/if_ral.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ral.c,v 1.58 2006/01/13 21:29:53 damien Exp $ */ +/* $OpenBSD: if_ral.c,v 1.59 2006/01/14 08:50:38 jsg Exp $ */ /*- * Copyright (c) 2005, 2006 @@ -955,7 +955,7 @@ ural_rxeof(usbd_xfer_handle xfer, usbd_private_handle priv, usbd_status status) M_DUP_PKTHDR(&mb, m); mb.m_data = (caddr_t)tap; - mb.m_len = sc->sc_txtap_len; + mb.m_len = sc->sc_rxtap_len; mb.m_next = m; mb.m_pkthdr.len += mb.m_len; bpf_mtap(sc->sc_drvbpf, &mb); |