summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-06-23 22:54:18 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-06-23 22:54:18 +0000
commitef8f0dc4dac17e0874b84598aa03ca7234833e59 (patch)
tree24ad39f97763d109f4fc88c429f74d7c39ddd7fc /sys
parent390b75752b166ed162a6d9d33b617461e9d41716 (diff)
Use ether_input_mbuf instead.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/if_wi.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/ic/if_wi.c b/sys/dev/ic/if_wi.c
index 9985af1989e..3ec898ea760 100644
--- a/sys/dev/ic/if_wi.c
+++ b/sys/dev/ic/if_wi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wi.c,v 1.10 2001/06/11 01:10:20 millert Exp $ */
+/* $OpenBSD: if_wi.c,v 1.11 2001/06/23 22:54:17 fgsch Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -120,7 +120,7 @@ u_int32_t widebug = WIDEBUG;
#if !defined(lint) && !defined(__OpenBSD__)
static const char rcsid[] =
- "$OpenBSD: if_wi.c,v 1.10 2001/06/11 01:10:20 millert Exp $";
+ "$OpenBSD: if_wi.c,v 1.11 2001/06/23 22:54:17 fgsch Exp $";
#endif /* lint */
#ifdef foo
@@ -432,8 +432,7 @@ wi_rxeof(sc)
#endif
/* Receive packet. */
- m_adj(m, sizeof(struct ether_header));
- ether_input(ifp, eh, m);
+ ether_input_mbuf(ifp, m);
return;
}