summaryrefslogtreecommitdiff
path: root/sys/dev/ic/atw.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2015-11-04 12:12:01 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2015-11-04 12:12:01 +0000
commitb7e59297cb5c784067ee40d96174076043140730 (patch)
treed84b71ad4933efb3509a88da5af2222affd8438a /sys/dev/ic/atw.c
parent47528c666a66b5f625fb95953f94dd2d78bd169b (diff)
replace the ifqueues in net80211 with mbuf_queues.
the specific queues are ic_mgtq, ic_pwrsaveq, and ni_savedq. rtw had its own queue for beacons. tested by mpi@ and jmc@ ok mpi@
Diffstat (limited to 'sys/dev/ic/atw.c')
-rw-r--r--sys/dev/ic/atw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/atw.c b/sys/dev/ic/atw.c
index 1e42fd7fbf8..b43b4635017 100644
--- a/sys/dev/ic/atw.c
+++ b/sys/dev/ic/atw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atw.c,v 1.89 2015/10/25 12:48:46 mpi Exp $ */
+/* $OpenBSD: atw.c,v 1.90 2015/11/04 12:11:59 dlg Exp $ */
/* $NetBSD: atw.c,v 1.69 2004/07/23 07:07:55 dyoung Exp $ */
/*-
@@ -3596,7 +3596,7 @@ atw_start(struct ifnet *ifp)
* Grab a packet off the management queue, if it
* is not empty. Otherwise, from the data queue.
*/
- IF_DEQUEUE(&ic->ic_mgtq, m0);
+ m0 = mq_dequeue(&ic->ic_mgtq);
if (m0 != NULL) {
ni = m0->m_pkthdr.ph_cookie;
} else {