summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath
diff options
context:
space:
mode:
authorgavin <gavin@FreeBSD.org>2010-01-12 17:59:58 +0000
committergavin <gavin@FreeBSD.org>2010-01-12 17:59:58 +0000
commit0c2da89ac473d10c99cb369963dc789d04986c15 (patch)
treef52412ec9c9567185e18aa60f11d73740d901597 /sys/dev/ath
parentca52a33d35801acbecacc860b4d4ef79fa67cb48 (diff)
downloadFreeBSD-src-0c2da89ac473d10c99cb369963dc789d04986c15.zip
FreeBSD-src-0c2da89ac473d10c99cb369963dc789d04986c15.tar.gz
Spell "Hz" correctly wherever it is user-visible.
PR: bin/142566 Submitted by: N.J. Mann njm njm.me.uk Approved by: ed (mentor) MFC after: 2 weeks
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/ath_hal/ar5210/ar5210_reset.c2
-rw-r--r--sys/dev/ath/if_ath.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ath/ath_hal/ar5210/ar5210_reset.c b/sys/dev/ath/ath_hal/ar5210/ar5210_reset.c
index dd35e2b..43e97ed 100644
--- a/sys/dev/ath/ath_hal/ar5210/ar5210_reset.c
+++ b/sys/dev/ath/ath_hal/ar5210/ar5210_reset.c
@@ -87,7 +87,7 @@ ar5210Reset(struct ath_hal *ah, HAL_OPMODE opmode,
if (!IEEE80211_IS_CHAN_5GHZ(chan)) {
/* Only 11a mode */
- HALDEBUG(ah, HAL_DEBUG_ANY, "%s: channel not 5Ghz\n", __func__);
+ HALDEBUG(ah, HAL_DEBUG_ANY, "%s: channel not 5GHz\n", __func__);
FAIL(HAL_EINVAL);
}
/*
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index 27912de..ed69a7d 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -5351,7 +5351,7 @@ ath_chan_set(struct ath_softc *sc, struct ieee80211_channel *chan)
ath_stoprecv(sc); /* turn off frame recv */
if (!ath_hal_reset(ah, sc->sc_opmode, chan, AH_TRUE, &status)) {
if_printf(ifp, "%s: unable to reset "
- "channel %u (%u Mhz, flags 0x%x), hal status %u\n",
+ "channel %u (%u MHz, flags 0x%x), hal status %u\n",
__func__, ieee80211_chan2ieee(ic, chan),
chan->ic_freq, chan->ic_flags, status);
return EIO;
OpenPOWER on IntegriCloud