diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2020-07-10 13:22:23 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2020-07-10 13:22:23 +0000 |
commit | 2ab8b96a9014558910b5e8b263ec8b87d01091ba (patch) | |
tree | 1cf4de4370435485a8c5e39ae8a862033ac128b1 /sys/dev/pci/if_iwn.c | |
parent | 59b2589d33b260697d1e3b750d952a5aaa2953fc (diff) |
Change users of IFQ_DEQUEUE(), IFQ_ENQUEUE() and IFQ_LEN() to use the
"new" API.
ok dlg@ tobhe@
Diffstat (limited to 'sys/dev/pci/if_iwn.c')
-rw-r--r-- | sys/dev/pci/if_iwn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_iwn.c b/sys/dev/pci/if_iwn.c index b7ba80097b8..f42cb27d391 100644 --- a/sys/dev/pci/if_iwn.c +++ b/sys/dev/pci/if_iwn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwn.c,v 1.233 2020/06/11 11:27:44 stsp Exp $ */ +/* $OpenBSD: if_iwn.c,v 1.234 2020/07/10 13:22:20 patrick Exp $ */ /*- * Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr> @@ -3751,7 +3751,7 @@ iwn_start(struct ifnet *ifp) break; /* Encapsulate and send data frames. */ - IFQ_DEQUEUE(&ifp->if_snd, m); + m = ifq_dequeue(&ifp->if_snd); if (m == NULL) break; #if NBPFILTER > 0 |