staging/rtl8192u: fixed typos
authorYannik Schmidt <yannik.schmidt@thermoscan.de>
Sat, 2 Jan 2016 15:02:28 +0000 (16:02 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 03:56:45 +0000 (19:56 -0800)
Fixed all checkpatch-warnings concerning typos in r8192U_core.c.

Signed-off-by: Yannik Schmidt <yannik.schmidt@thermoscan.de>
Signed-off-by: Lukas Lehnert <lukas.lehnert@web.de>
CC: linux-kernel@i4.cs.fau.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U_core.c

index 5ac089335aca8d134df33ae983c4aad1645325c1..07f4e7a5469aeb85b818fd45786fd0e8fcb6b591 100644 (file)
@@ -1371,7 +1371,7 @@ short rtl819xU_tx_cmd(struct net_device *dev, struct sk_buff *skb)
 */
 static u8 MapHwQueueToFirmwareQueue(u8 QueueID)
 {
-       u8 QueueSelect = 0x0;       /* defualt set to */
+       u8 QueueSelect = 0x0;       /* default set to */
 
        switch (QueueID) {
        case BE_QUEUE:
@@ -4296,7 +4296,7 @@ static void rtl8192_query_rxphystatus(struct r8192_priv *priv,
        if (is_cck_rate) {
                /* (1)Hardware does not provide RSSI for CCK */
 
-               /* (2)PWDB, Average PWDB cacluated by hardware
+               /* (2)PWDB, Average PWDB calculated by hardware
                 * (for rate adaptive)
                 */
                u8 report;
@@ -4397,7 +4397,7 @@ static void rtl8192_query_rxphystatus(struct r8192_priv *priv,
                }
 
 
-               /* (2)PWDB, Average PWDB cacluated by hardware
+               /* (2)PWDB, Average PWDB calculated by hardware
                 * (for rate adaptive)
                 */
                rx_pwr_all = (((pofdm_buf->pwdb_all) >> 1) & 0x7f) - 106;