summaryrefslogtreecommitdiff
path: root/sys/net80211
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net80211')
-rw-r--r--sys/net80211/ieee80211_pae_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_pae_output.c b/sys/net80211/ieee80211_pae_output.c
index 210371496f2..ee67d54e643 100644
--- a/sys/net80211/ieee80211_pae_output.c
+++ b/sys/net80211/ieee80211_pae_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ieee80211_pae_output.c,v 1.25 2015/11/24 13:45:06 mpi Exp $ */
+/* $OpenBSD: ieee80211_pae_output.c,v 1.26 2015/11/25 03:10:00 dlg Exp $ */
/*-
* Copyright (c) 2007,2008 Damien Bergamini <damien.bergamini@free.fr>
@@ -128,7 +128,7 @@ ieee80211_send_eapol_key(struct ieee80211com *ic, struct mbuf *m,
IFQ_ENQUEUE(&ifp->if_snd, m, error);
if (error == 0) {
ifp->if_obytes += len;
- if ((ifp->if_flags & IFF_OACTIVE) == 0)
+ if (!ifq_is_oactive(&ifp->if_snd))
(*ifp->if_start)(ifp);
}
splx(s);