summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstsp <stsp@openbsd.org>2020-05-23 08:42:50 +0000
committerstsp <stsp@openbsd.org>2020-05-23 08:42:50 +0000
commitf37012079f0c600e8d41541d76c214183275eb5f (patch)
tree091206f767411365c93afae59e4b9ad373f27edc
parentremove ifdef'd out tc fb cnattach bits (diff)
downloadwireguard-openbsd-f37012079f0c600e8d41541d76c214183275eb5f.tar.xz
wireguard-openbsd-f37012079f0c600e8d41541d76c214183275eb5f.zip
Fix typo in a comment that originated in wpi(4) and has spread elsewhere.
-rw-r--r--sys/dev/ic/ar5008.c4
-rw-r--r--sys/dev/pci/if_iwm.c4
-rw-r--r--sys/dev/pci/if_iwn.c4
-rw-r--r--sys/dev/pci/if_wpi.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/ic/ar5008.c b/sys/dev/ic/ar5008.c
index 79d4d9c7ac7..3a28d87bc88 100644
--- a/sys/dev/ic/ar5008.c
+++ b/sys/dev/ic/ar5008.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ar5008.c,v 1.58 2020/05/15 14:21:08 stsp Exp $ */
+/* $OpenBSD: ar5008.c,v 1.59 2020/05/23 08:42:50 stsp Exp $ */
/*-
* Copyright (c) 2009 Damien Bergamini <damien.bergamini@free.fr>
@@ -818,7 +818,7 @@ ar5008_ccmp_decap(struct athn_softc *sc, struct mbuf *m, struct ieee80211_node *
IEEE80211_AID(ni->ni_associd))
return 1;
- /* Check that ExtIV bit is be set. */
+ /* Check that ExtIV bit is set. */
if (!(ivp[3] & IEEE80211_WEP_EXTIV))
return 1;
diff --git a/sys/dev/pci/if_iwm.c b/sys/dev/pci/if_iwm.c
index acbd2a5b3e9..25849cb2464 100644
--- a/sys/dev/pci/if_iwm.c
+++ b/sys/dev/pci/if_iwm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwm.c,v 1.309 2020/05/18 17:56:41 stsp Exp $ */
+/* $OpenBSD: if_iwm.c,v 1.310 2020/05/23 08:42:51 stsp Exp $ */
/*
* Copyright (c) 2014, 2016 genua gmbh <info@genua.de>
@@ -3921,7 +3921,7 @@ iwm_ccmp_decap(struct iwm_softc *sc, struct mbuf *m, struct ieee80211_node *ni)
hdrlen = ieee80211_get_hdrlen(wh);
ivp = (uint8_t *)wh + hdrlen;
- /* Check that ExtIV bit is be set. */
+ /* Check that ExtIV bit is set. */
if (!(ivp[3] & IEEE80211_WEP_EXTIV))
return 1;
diff --git a/sys/dev/pci/if_iwn.c b/sys/dev/pci/if_iwn.c
index 78691733df8..08353b228b8 100644
--- a/sys/dev/pci/if_iwn.c
+++ b/sys/dev/pci/if_iwn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwn.c,v 1.230 2020/05/15 14:21:08 stsp Exp $ */
+/* $OpenBSD: if_iwn.c,v 1.231 2020/05/23 08:42:51 stsp Exp $ */
/*-
* Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr>
@@ -1920,7 +1920,7 @@ iwn_ccmp_decap(struct iwn_softc *sc, struct mbuf *m, struct ieee80211_node *ni)
hdrlen = ieee80211_get_hdrlen(wh);
ivp = (uint8_t *)wh + hdrlen;
- /* Check that ExtIV bit is be set. */
+ /* Check that ExtIV bit is set. */
if (!(ivp[3] & IEEE80211_WEP_EXTIV)) {
DPRINTF(("CCMP decap ExtIV not set\n"));
return 1;
diff --git a/sys/dev/pci/if_wpi.c b/sys/dev/pci/if_wpi.c
index 2a7f408d6d0..8fc0600197e 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.150 2020/05/15 14:21:08 stsp Exp $ */
+/* $OpenBSD: if_wpi.c,v 1.151 2020/05/23 08:42:51 stsp Exp $ */
/*-
* Copyright (c) 2006-2008
@@ -1143,7 +1143,7 @@ wpi_ccmp_decap(struct wpi_softc *sc, struct mbuf *m, struct ieee80211_key *k)
hdrlen = ieee80211_get_hdrlen(wh);
ivp = (uint8_t *)wh + hdrlen;
- /* Check that ExtIV bit is be set. */
+ /* Check that ExtIV bit is set. */
if (!(ivp[3] & IEEE80211_WEP_EXTIV)) {
DPRINTF(("CCMP decap ExtIV not set\n"));
return 1;