summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_wpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/if_wpi.c')
-rw-r--r--sys/dev/pci/if_wpi.c4
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