summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2022-01-05 05:18:26 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2022-01-05 05:18:26 +0000
commit52a26bdbde84207b683b24bd11b80c2e9aada012 (patch)
tree2987352224d7c3b22d46f77d14e3ad5112ebbe5f /sys/dev
parenta03f7a3c2933ee3a75d856894e32b77f114f34cb (diff)
rename ETHERTYPE_PAE to ETHERTYPE_EAPOL.
everyone else seems to use ETHERTYPE_EAPOL, and as a bonus it also appears to be more correct. ok deraadt@ stsp@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/bwfm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/bwfm.c b/sys/dev/ic/bwfm.c
index 23c3bb50f9a..9741456e067 100644
--- a/sys/dev/ic/bwfm.c
+++ b/sys/dev/ic/bwfm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bwfm.c,v 1.97 2021/12/27 14:31:15 patrick Exp $ */
+/* $OpenBSD: bwfm.c,v 1.98 2022/01/05 05:18:24 dlg Exp $ */
/*
* Copyright (c) 2010-2016 Broadcom Corporation
* Copyright (c) 2016,2017 Patrick Wildt <patrick@blueri.se>
@@ -2273,7 +2273,7 @@ bwfm_rx(struct bwfm_softc *sc, struct mbuf *m, struct mbuf_list *ml)
if ((ic->ic_flags & IEEE80211_F_RSNON) &&
m->m_len >= sizeof(e->ehdr) &&
- ntohs(e->ehdr.ether_type) == ETHERTYPE_PAE) {
+ ntohs(e->ehdr.ether_type) == ETHERTYPE_EAPOL) {
ifp->if_ipackets++;
#if NBPFILTER > 0
if (ifp->if_bpf)