summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2001-01-17 04:54:48 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2001-01-17 04:54:48 +0000
commitf728d75744ff2349de4d02f12ea75133f0939abe (patch)
treea4737f42abe4eb9ab5139698fb110dce2e9131f5 /sys/dev/pcmcia
parent9def56c8741f5e4646a91b47212d55e9bf90bf95 (diff)
Fix breakage from revision 1.20 that freaked my WaveLAN out.
Diffstat (limited to 'sys/dev/pcmcia')
-rw-r--r--sys/dev/pcmcia/if_wi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pcmcia/if_wi.c b/sys/dev/pcmcia/if_wi.c
index 39469fb13bd..f4a428bc755 100644
--- a/sys/dev/pcmcia/if_wi.c
+++ b/sys/dev/pcmcia/if_wi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wi.c,v 1.21 2001/01/16 20:18:33 mickey Exp $ */
+/* $OpenBSD: if_wi.c,v 1.22 2001/01/17 04:54:47 aaron Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -133,7 +133,7 @@ u_int32_t widebug = WIDEBUG;
#if !defined(lint) && !defined(__OpenBSD__)
static const char rcsid[] =
- "$OpenBSD: if_wi.c,v 1.21 2001/01/16 20:18:33 mickey Exp $";
+ "$OpenBSD: if_wi.c,v 1.22 2001/01/17 04:54:47 aaron Exp $";
#endif /* lint */
#ifdef foo
@@ -935,7 +935,7 @@ wi_setmulti(sc)
bzero((char *)&mcast, sizeof(mcast));
mcast.wi_type = WI_RID_MCAST;
- mcast.wi_len = (ETHER_ADDR_LEN * 16) + 1;
+ mcast.wi_len = ((ETHER_ADDR_LEN / 2) * 16) + 1;
if (ifp->if_flags & IFF_ALLMULTI || ifp->if_flags & IFF_PROMISC) {
wi_write_record(sc, (struct wi_ltv_gen *)&mcast);