summaryrefslogtreecommitdiff
path: root/sys/dev/ic/smc91cxx.c
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-06-24 04:57:08 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-06-24 04:57:08 +0000
commit75e89dc0e4d2883c1592d677252c73ec7463a7d4 (patch)
tree30d74997135a554e24c31842648b579ab90a0fce /sys/dev/ic/smc91cxx.c
parent1da4eab2465802b9381fbe0da814e9e48f54a938 (diff)
Add back stuff I removed in previous commit with a minor change.
Diffstat (limited to 'sys/dev/ic/smc91cxx.c')
-rw-r--r--sys/dev/ic/smc91cxx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/smc91cxx.c b/sys/dev/ic/smc91cxx.c
index 986156b765c..e8221cc8e3f 100644
--- a/sys/dev/ic/smc91cxx.c
+++ b/sys/dev/ic/smc91cxx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smc91cxx.c,v 1.10 2001/06/23 23:17:35 fgsch Exp $ */
+/* $OpenBSD: smc91cxx.c,v 1.11 2001/06/24 04:57:07 fgsch Exp $ */
/* $NetBSD: smc91cxx.c,v 1.11 1998/08/08 23:51:41 mycroft Exp $ */
/*-
@@ -930,6 +930,7 @@ smc91cxx_read(sc)
bpf_mtap(ifp->if_bpf, m);
#endif
+ m->m_pkthdr.len = m->m_len = packetlen;
ether_input_mbuf(ifp, m);
out: