summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2004-12-31 20:35:05 +0000
committersam <sam@FreeBSD.org>2004-12-31 20:35:05 +0000
commit96c2d6273d1f9bfe8c4037a8cecfafc35103681e (patch)
tree46780d992536b3c3d01a54d0458dc7253f3d2571 /sys/dev/ath
parent341ffa612f66fc3213f4bedb7d13a5ccf12b7490 (diff)
downloadFreeBSD-src-96c2d6273d1f9bfe8c4037a8cecfafc35103681e.zip
FreeBSD-src-96c2d6273d1f9bfe8c4037a8cecfafc35103681e.tar.gz
correct some typos
Submitted by: Tai-hwa Liang
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/if_ath.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index 3f436c6..4b13f53 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -2763,7 +2763,7 @@ ath_txq_setup(struct ath_softc *sc, int qtype, int subtype)
if (qnum == -1) {
/*
* NB: don't print a message, this happens
- * ormally on parts with too few tx queues
+ * normally on parts with too few tx queues
*/
return NULL;
}
@@ -2916,8 +2916,8 @@ ath_tx_start(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf
ismcast = IEEE80211_IS_MULTICAST(wh->i_addr1);
hdrlen = ieee80211_anyhdrsize(wh);
/*
- * Packet length must not include by any
- * pad bytes; deduct it here.
+ * Packet length must not include any
+ * pad bytes; deduct them here.
*/
pktlen = m0->m_pkthdr.len - (hdrlen & 3);
@@ -4316,7 +4316,7 @@ ath_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
}
ATH_UNLOCK(sc);
return error;
-#undef IS_UP
+#undef IS_RUNNING
}
static int
OpenPOWER on IntegriCloud