summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_ral.c
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2006-01-14 08:50:38 +0000
committerjsg <jsg@openbsd.org>2006-01-14 08:50:38 +0000
commitfb46b577d27220b3cb44de75b4a01621aeaca638 (patch)
tree0f254be8b8591c6b72a70beaf12f78b89fcac092 /sys/dev/usb/if_ral.c
parentregen (diff)
downloadwireguard-openbsd-fb46b577d27220b3cb44de75b4a01621aeaca638.tar.xz
wireguard-openbsd-fb46b577d27220b3cb44de75b4a01621aeaca638.zip
Correct the length of the rx radiotap to be that of the rx not tx
struct. ok damien@
Diffstat (limited to 'sys/dev/usb/if_ral.c')
-rw-r--r--sys/dev/usb/if_ral.c4
1 files changed, 2 insertions, 2 deletions
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);