summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/rt2560.c4
-rw-r--r--sys/dev/ic/rt2661.c4
-rw-r--r--sys/dev/usb/if_ral.c4
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);