summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/athn.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/athn.c')
-rw-r--r--sys/dev/ic/athn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/athn.c b/sys/dev/ic/athn.c
index 5f84db0b1ea..d20bb5615c2 100644
--- a/sys/dev/ic/athn.c
+++ b/sys/dev/ic/athn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: athn.c,v 1.108 2020/07/06 11:28:51 stsp Exp $ */
+/* $OpenBSD: athn.c,v 1.109 2020/07/10 13:22:19 patrick Exp $ */
/*-
* Copyright (c) 2009 Damien Bergamini <damien.bergamini@free.fr>
@@ -2873,7 +2873,7 @@ athn_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