diff options
author | 2006-10-03 17:37:31 +0000 | |
---|---|---|
committer | 2006-10-03 17:37:31 +0000 | |
commit | f611d46dad8c3ba38ed9845df64bed4b945b9006 (patch) | |
tree | 882038d22908ff9c597575e32fb65b3ecf7723e3 /sys/dev | |
parent | Do not use IF_PREPEND. Instead use IFQ_POLL and IFQ_DEQUEUE. This should (diff) | |
download | wireguard-openbsd-f611d46dad8c3ba38ed9845df64bed4b945b9006.tar.xz wireguard-openbsd-f611d46dad8c3ba38ed9845df64bed4b945b9006.zip |
Enable altq in acx(4) the tx path is already handling all cases correctly.
OK mglocker@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/acx.c | 4 |
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; |