summaryrefslogtreecommitdiff
path: root/sys/dev/ic/if_wi.c
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-07-08 23:38:09 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-07-08 23:38:09 +0000
commitb0d62f130faaba54cee526972c751ffcc5ae1aa4 (patch)
tree5a50d84ce31afba96ee060d5af126daf66eddd57 /sys/dev/ic/if_wi.c
parentc7e17867401a13de39348e78559e0255562049bf (diff)
Don't set up ifq_maxlen manually for drivers that uses IFQ_MAXLEN
(or ifqmaxlen); it's done in if_attach() now. No future drivers needs to set up this anymore unless they want to use something else.
Diffstat (limited to 'sys/dev/ic/if_wi.c')
-rw-r--r--sys/dev/ic/if_wi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/ic/if_wi.c b/sys/dev/ic/if_wi.c
index cfdb0f48eb8..24dea3e130f 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.15 2001/06/27 06:34:42 kjc Exp $ */
+/* $OpenBSD: if_wi.c,v 1.16 2001/07/08 23:38:05 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.15 2001/06/27 06:34:42 kjc Exp $";
+ "$OpenBSD: if_wi.c,v 1.16 2001/07/08 23:38:05 fgsch Exp $";
#endif /* lint */
#ifdef foo
@@ -197,7 +197,6 @@ wi_attach(sc, print_cis)
ifp->if_start = wi_start;
ifp->if_watchdog = wi_watchdog;
ifp->if_baudrate = 10000000;
- IFQ_SET_MAXLEN(&ifp->if_snd, IFQ_MAXLEN);
IFQ_SET_READY(&ifp->if_snd);
bzero(sc->wi_node_name, sizeof(sc->wi_node_name));