ath5k: fix some comment typos
authorBruno Randolf <br1@einfach.org>
Wed, 16 Jun 2010 10:11:25 +0000 (19:11 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 16 Jun 2010 18:58:59 +0000 (14:58 -0400)
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>
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/base.c

index cf16318a0a172ce9ac64e017977b334198771ede..387c120108b5383422b8bff4f7826e9ef3a0120f 100644 (file)
@@ -566,7 +566,7 @@ enum ath5k_pkt_type {
 )
 
 /*
- * DMA size definitions (2^n+2)
+ * DMA size definitions (2^(n+2))
  */
 enum ath5k_dmasize {
        AR5K_DMASIZE_4B = 0,
index 8e6b54d07a4a9c5a5ff7d742922cec5501579b6a..5bd9a39dc0ede70ab05b9477818c9182f1b6ffa5 100644 (file)
@@ -1230,13 +1230,13 @@ ath5k_rxbuf_setup(struct ath5k_softc *sc, struct ath5k_buf *bf)
         * not get overrun under high load (as can happen with a
         * 5212 when ANI processing enables PHY error frames).
         *
-        * To insure the last descriptor is self-linked we create
+        * To ensure the last descriptor is self-linked we create
         * each descriptor as self-linked and add it to the end.  As
         * each additional descriptor is added the previous self-linked
-        * entry is ``fixed'' naturally.  This should be safe even
+        * entry is "fixed" naturally.  This should be safe even
         * if DMA is happening.  When processing RX interrupts we
         * never remove/process the last, self-linked, entry on the
-        * descriptor list.  This insures the hardware always has
+        * descriptor list.  This ensures the hardware always has
         * someplace to write a new frame.
         */
        ds = bf->desc;
This page took 0.028627 seconds and 5 git commands to generate.