staging: wlan-ng: Fix typo in comments and printk
authorMasanari Iida <standby24x7@gmail.com>
Sun, 30 Nov 2014 15:29:00 +0000 (00:29 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 18 Jan 2015 00:10:48 +0000 (16:10 -0800)
This patch fix spelling typo in comments and print.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/hfa384x.h
drivers/staging/wlan-ng/hfa384x_usb.c
drivers/staging/wlan-ng/p80211conv.c
drivers/staging/wlan-ng/p80211req.c
drivers/staging/wlan-ng/prism2mgmt.h
drivers/staging/wlan-ng/prism2sta.c

index 20d146b61ba74324f35f104dc09da9f301c50265..5b7b4081e2c9317e41b4c0c5ef083238ded158ce 100644 (file)
@@ -1268,7 +1268,7 @@ typedef struct hfa384x {
        hfa384x_downloadbuffer_t bufinfo;
        u16 dltimeout;
 
-       int scanflag;           /* to signal scan comlete */
+       int scanflag;           /* to signal scan complete */
        int join_ap;            /* are we joined to a specific ap */
        int join_retries;       /* number of join retries till we fail */
        hfa384x_JoinRequest_data_t joinreq;     /* join request saved data */
index de33a07904f212dca20d41aa04006896e7d7d5c1..2245339eb6a29609dbb0ba1d96dd6af7883d9e62 100644 (file)
@@ -382,7 +382,7 @@ done:
 *
 * Arguments:
 *      hw              device struct
-*      tx_urb          URB of data for tranmission
+*      tx_urb          URB of data for transmission
 *      memflags        memory allocation flags
 *
 * Returns:
@@ -2391,7 +2391,7 @@ int hfa384x_drvr_ramdl_write(hfa384x_t *hw, u32 daddr, void *buf, u32 len)
 *      0               success
 *      >0              f/w reported error - f/w status code
 *      <0              driver reported error
-*      -ETIMEDOUT      timout waiting for the cmd regs to become
+*      -ETIMEDOUT      timeout waiting for the cmd regs to become
 *                      available, or waiting for the control reg
 *                      to indicate the Aux port is enabled.
 *      -ENODATA        the buffer does NOT contain a valid PDA.
index 7eaaf9a63503a955f60ce4c4789c121f330eb664..bd69e8cf200fe9c1b34833fa6fdc1568eecd6f14 100644 (file)
@@ -511,7 +511,7 @@ int skb_p80211_to_ether(wlandevice_t *wlandev, u32 ethconv,
 * protocol.
 *
 * Arguments:
-*      proto   protocl number (in host order) to search for.
+*      proto   protocol number (in host order) to search for.
 *
 * Returns:
 *      1 - if the table is empty or a match is found.
index 7221379c9742532f79d6c75090be7e0d27fe51eb..4b84b568f6ca04535ad63b2f5e0c2532a6523273 100644 (file)
@@ -80,7 +80,7 @@ static void p80211req_mibset_mibget(wlandevice_t *wlandev,
 /*----------------------------------------------------------------
 * p80211req_dorequest
 *
-* Handles an MLME reqest/confirm message.
+* Handles an MLME request/confirm message.
 *
 * Arguments:
 *      wlandev         WLAN device struct
index b62fdcba94e6c3b85c6f5af210c05e32a5db023e..16f12395910459446dd2b9de5c3f218fd2c87852 100644 (file)
@@ -45,7 +45,7 @@
 * --------------------------------------------------------------------
 *
 * This file contains the constants and data structures for interaction
-* with the hfa384x Wireless LAN (WLAN) Media Access Contoller (MAC).
+* with the hfa384x Wireless LAN (WLAN) Media Access Controller (MAC).
 * The hfa384x is a portion of the Harris PRISM(tm) WLAN chipset.
 *
 * [Implementation and usage notes]
index df577dfe7ffbe18ea45a0f2a91804a1a22f7062e..182cc7f0b23029b38ac43be67698ae0fcf22b54e 100644 (file)
@@ -662,7 +662,7 @@ static int prism2sta_getcardinfo(wlandevice_t *wlandev)
                       "ident:  ap f/w: id=0x%02x %d.%d.%d\n",
                       hw->ident_sta_fw.id, hw->ident_sta_fw.major,
                       hw->ident_sta_fw.minor, hw->ident_sta_fw.variant);
-               netdev_err(wlandev->netdev, "Unsupported Tertiary AP firmeare loaded!\n");
+               netdev_err(wlandev->netdev, "Unsupported Tertiary AP firmware loaded!\n");
                goto failed;
        }