aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2023-01-19 13:16:05 +0000
committerGordon Bergling <gbe@FreeBSD.org>2023-01-19 13:16:05 +0000
commite4b7980c5ca9c701242f3c395a042360db0ad7a7 (patch)
tree46c3f36a60e11e1e216566a1c7679317a442c4c8
parentfa7de6dcb9b7314d4736f1fc21b3fdceefe34173 (diff)
downloadsrc-e4b7980c5ca9c701242f3c395a042360db0ad7a7.tar.gz
src-e4b7980c5ca9c701242f3c395a042360db0ad7a7.zip
ath(4): Fix a sysctl description and a typo in a comment
- s/delimeter/delimiter/ MFC after: 7 days
-rw-r--r--sys/dev/ath/if_ath_sysctl.c2
-rw-r--r--sys/dev/ath/if_ath_tx_ht.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ath/if_ath_sysctl.c b/sys/dev/ath/if_ath_sysctl.c
index de852158f991..b095dad2488f 100644
--- a/sys/dev/ath/if_ath_sysctl.c
+++ b/sys/dev/ath/if_ath_sysctl.c
@@ -1237,7 +1237,7 @@ ath_sysctl_stats_attach(struct ath_softc *sc)
SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_rx_2040", CTLFLAG_RD,
&sc->sc_stats.ast_rx_2040, 0, "number of HT/40 frames received");
SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_rx_pre_crc_err", CTLFLAG_RD,
- &sc->sc_stats.ast_rx_pre_crc_err, 0, "number of delimeter-CRC errors detected");
+ &sc->sc_stats.ast_rx_pre_crc_err, 0, "number of delimiter-CRC errors detected");
SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_rx_post_crc_err", CTLFLAG_RD,
&sc->sc_stats.ast_rx_post_crc_err, 0, "number of post-delimiter CRC errors detected");
SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_rx_decrypt_busy_err", CTLFLAG_RD,
diff --git a/sys/dev/ath/if_ath_tx_ht.c b/sys/dev/ath/if_ath_tx_ht.c
index 7c7a5ac493f6..1af1ec9120c7 100644
--- a/sys/dev/ath/if_ath_tx_ht.c
+++ b/sys/dev/ath/if_ath_tx_ht.c
@@ -457,7 +457,7 @@ ath_compute_num_delims(struct ath_softc *sc, struct ath_buf *first_bf,
ndelim += ATH_AGGR_ENCRYPTDELIM;
/*
- * For AR9380, there's a minimum number of delimeters
+ * For AR9380, there's a minimum number of delimiters
* required when doing RTS.
*
* XXX TODO: this is only needed if (a) RTS/CTS is enabled for