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_wpi.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_wpi.c')
-rw-r--r-- | sys/dev/pci/if_wpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_wpi.c b/sys/dev/pci/if_wpi.c index 7b95d900f4f..e6708c8106f 100644 --- a/sys/dev/pci/if_wpi.c +++ b/sys/dev/pci/if_wpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wpi.c,v 1.152 2020/06/03 11:37:39 jmatthew Exp $ */ +/* $OpenBSD: if_wpi.c,v 1.153 2020/07/10 13:22:21 patrick Exp $ */ /*- * Copyright (c) 2006-2008 @@ -1910,7 +1910,7 @@ wpi_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 |