OSDN Git Service

staging: rtl8712: Fixes for simple typos in C comments
authorR Veera Kumar <vkor@vkten.in>
Thu, 12 Mar 2020 09:10:48 +0000 (14:40 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Mar 2020 11:54:34 +0000 (12:54 +0100)
Fixes for simple typos in C comments.
Found using checkpatch.pl.

Signed-off-by: R Veera Kumar <vkor@vkten.in>
Link: https://lore.kernel.org/r/20200312091042.GA4246@tulip.local
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl871x_cmd.h
drivers/staging/rtl8712/rtl871x_recv.h

index 98d7fbf..254182a 100644 (file)
@@ -478,7 +478,7 @@ struct drvint_cmd_parm {
        unsigned char *pbuf;
 };
 
-/*------------------- Below are used for RF/BB tunning ---------------------*/
+/*------------------- Below are used for RF/BB tuning ---------------------*/
 
 struct setantenna_parm {
        u8      tx_antset;
index 0146a77..e93f356 100644 (file)
@@ -53,7 +53,7 @@ struct rx_pkt_attrib {
        u8      privacy; /* in frame_ctrl field */
        u8      bdecrypted;
        int     hdrlen;  /* the WLAN Header Len */
-       int     encrypt; /* 0 no encrypt. != 0 encrypt algorith */
+       int     encrypt; /* 0 no encrypt. != 0 encrypt algorithm */
        int     iv_len;
        int     icv_len;
        int     priority;
@@ -105,7 +105,7 @@ struct recv_priv {
        u8 *precv_buf;    /* 4 alignment */
        struct  __queue free_recv_buf_queue;
        u32     free_recv_buf_queue_cnt;
-       /* For the phy informatiom */
+       /* For the phy information */
        s8 rssi;
        u8 signal;
        u8 noise;