summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2006-10-03 17:37:32 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2006-10-03 17:37:32 +0000
commit0f0f8b9e1d3a80c29330863019440e1b8223e9d8 (patch)
tree4cf8ed5648dac3d9bb3dfcbe6dd6f77a4500b4b0
parent998d3fdd42b6d470b5a6b427977be1a47a2e623e (diff)
Enable altq in acx(4) the tx path is already handling all cases correctly.
OK mglocker@
-rw-r--r--sys/dev/ic/acx.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/acx.c b/sys/dev/ic/acx.c
index c8f9e87d0af..8255eb35762 100644
--- a/sys/dev/ic/acx.c
+++ b/sys/dev/ic/acx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acx.c,v 1.51 2006/09/26 12:54:34 mglocker Exp $ */
+/* $OpenBSD: acx.c,v 1.52 2006/10/03 17:37:31 claudio Exp $ */
/*
* Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org>
@@ -293,6 +293,8 @@ acx_attach(struct acx_softc *sc)
ifp->if_watchdog = acx_watchdog;
ifp->if_flags = IFF_SIMPLEX | IFF_BROADCAST | IFF_MULTICAST;
strlcpy(ifp->if_xname, sc->sc_dev.dv_xname, IFNAMSIZ);
+ IFQ_SET_MAXLEN(&ifp->if_snd, IFQ_MAXLEN);
+ IFQ_SET_READY(&ifp->if_snd);
/* set supported .11b and .11g rates */
ic->ic_sup_rates[IEEE80211_MODE_11B] = acx_rates_11b;