aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBruno Randolf <br1@einfach.org>2010-06-16 06:11:25 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-06-16 14:58:59 -0400
commitbeade6363cbb5308ba9918d7547aa574ae08a8bd (patch)
tree78e3cb7f9128476ab984ce24bdc6b6c7a41e51df /drivers
parent9e4e43f20f808babd1b4ecd65266748ed1673c1e (diff)
ath5k: fix some comment typos
Fix comment about dma sizes, brackets were missing. Replace 'insure' with 'ensure'. Signed-off-by: Bruno Randolf <br1@einfach.org> Acked-by: Bob Copeland <me@bobcopeland.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/ath5k/ath5k.h2
-rw-r--r--drivers/net/wireless/ath/ath5k/base.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath5k/ath5k.h b/drivers/net/wireless/ath/ath5k/ath5k.h
index cf16318a0a17..387c120108b5 100644
--- a/drivers/net/wireless/ath/ath5k/ath5k.h
+++ b/drivers/net/wireless/ath/ath5k/ath5k.h
@@ -566,7 +566,7 @@ enum ath5k_pkt_type {
566) 566)
567 567
568/* 568/*
569 * DMA size definitions (2^n+2) 569 * DMA size definitions (2^(n+2))
570 */ 570 */
571enum ath5k_dmasize { 571enum ath5k_dmasize {
572 AR5K_DMASIZE_4B = 0, 572 AR5K_DMASIZE_4B = 0,
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c
index 8e6b54d07a4a..5bd9a39dc0ed 100644
--- a/drivers/net/wireless/ath/ath5k/base.c
+++ b/drivers/net/wireless/ath/ath5k/base.c
@@ -1230,13 +1230,13 @@ ath5k_rxbuf_setup(struct ath5k_softc *sc, struct ath5k_buf *bf)
1230 * not get overrun under high load (as can happen with a 1230 * not get overrun under high load (as can happen with a
1231 * 5212 when ANI processing enables PHY error frames). 1231 * 5212 when ANI processing enables PHY error frames).
1232 * 1232 *
1233 * To insure the last descriptor is self-linked we create 1233 * To ensure the last descriptor is self-linked we create
1234 * each descriptor as self-linked and add it to the end. As 1234 * each descriptor as self-linked and add it to the end. As
1235 * each additional descriptor is added the previous self-linked 1235 * each additional descriptor is added the previous self-linked
1236 * entry is ``fixed'' naturally. This should be safe even 1236 * entry is "fixed" naturally. This should be safe even
1237 * if DMA is happening. When processing RX interrupts we 1237 * if DMA is happening. When processing RX interrupts we
1238 * never remove/process the last, self-linked, entry on the 1238 * never remove/process the last, self-linked, entry on the
1239 * descriptor list. This insures the hardware always has 1239 * descriptor list. This ensures the hardware always has
1240 * someplace to write a new frame. 1240 * someplace to write a new frame.
1241 */ 1241 */
1242 ds = bf->desc; 1242 ds = bf->desc;