From b7e59297cb5c784067ee40d96174076043140730 Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Wed, 4 Nov 2015 12:12:01 +0000 Subject: 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@ --- sys/dev/usb/if_zyd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/usb/if_zyd.c') diff --git a/sys/dev/usb/if_zyd.c b/sys/dev/usb/if_zyd.c index 9f3eb309ae3..08547d7e358 100644 --- a/sys/dev/usb/if_zyd.c +++ b/sys/dev/usb/if_zyd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_zyd.c,v 1.109 2015/10/25 12:11:56 mpi Exp $ */ +/* $OpenBSD: if_zyd.c,v 1.110 2015/11/04 12:12:00 dlg Exp $ */ /*- * Copyright (c) 2006 by Damien Bergamini @@ -2242,7 +2242,7 @@ zyd_start(struct ifnet *ifp) break; } /* send pending management frames first */ - IF_DEQUEUE(&ic->ic_mgtq, m); + m = mq_dequeue(&ic->ic_mgtq); if (m != NULL) { ni = m->m_pkthdr.ph_cookie; goto sendit; -- cgit v1.2.3