staging: rtl8723au: Fix typo in rtl8723au/core
authorMasanari Iida <standby24x7@gmail.com>
Tue, 22 Jul 2014 14:42:53 +0000 (23:42 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jul 2014 23:09:08 +0000 (16:09 -0700)
This patch fix spelling typo in comments within
rtl8723au/core.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_cmd.c
drivers/staging/rtl8723au/core/rtw_efuse.c
drivers/staging/rtl8723au/core/rtw_ieee80211.c
drivers/staging/rtl8723au/core/rtw_pwrctrl.c
drivers/staging/rtl8723au/core/rtw_recv.c

index df1ffb3..25d65b2 100644 (file)
@@ -322,7 +322,7 @@ post_process:
                                  pcmd_callback, pcmd->cmdcode));
                        rtw_free_cmd_obj23a(pcmd);
                } else {
-                       /* need conider that free cmd_obj in
+                       /* need consider that free cmd_obj in
                           rtw_cmd_callback */
                        pcmd_callback(pcmd->padapter, pcmd);
                }
@@ -736,7 +736,7 @@ int rtw_setstakey_cmd23a(struct rtw_adapter *padapter, u8 *psta, u8 unicast_key)
                       &psecuritypriv->dot118021XGrpKey[idx].skey, 16);
         }
 
-       /* jeff: set this becasue at least sw key is ready */
+       /* jeff: set this because at least sw key is ready */
        padapter->securitypriv.busetkipkey = 1;
 
        res = rtw_enqueue_cmd23a(pcmdpriv, ph2c);
index cc063cb..345bff8 100644 (file)
@@ -59,7 +59,7 @@ static void Efuse_PowerSwitch(struct rtw_adapter *padapter,
                rtl8723au_write8(padapter, REG_EFUSE_ACCESS, EFUSE_ACCESS_ON);
 
                /*  1.2V Power: From VDDON with Power
-                   Cut(0x0000h[15]), defualt valid */
+                   Cut(0x0000h[15]), default valid */
                tmpV16 = rtl8723au_read16(padapter, REG_SYS_ISO_CTRL);
                if (!(tmpV16 & PWC_EV12V)) {
                        tmpV16 |= PWC_EV12V;
@@ -144,7 +144,7 @@ Efuse_CalculateWordCnts23a(u8 word_en)
 /*  */
 /*     Description: */
 /*             Execute E-Fuse read byte operation. */
-/*             Refered from SD1 Richard. */
+/*             Referred from SD1 Richard. */
 /*  */
 /*     Assumption: */
 /*             1. Boot from E-Fuse and successfully auto-load. */
@@ -521,7 +521,7 @@ static int efuse_write8(struct rtw_adapter *padapter, u16 address, u8 *value)
 }
 
 /*
- * read/wirte raw efuse data
+ * read/write raw efuse data
  */
 int rtw_efuse_access23a(struct rtw_adapter *padapter, u8 bWrite, u16 start_addr,
                        u16 cnts, u8 *data)
index 78a7b27..23e6662 100644 (file)
@@ -250,7 +250,7 @@ u8 *rtw_get_ie23a_ex(u8 *in_ie, uint in_len, u8 eid, u8 *oui, u8 oui_len,
  * rtw_ies_remove_ie23a - Find matching IEs and remove
  * @ies: Address of IEs to search
  * @ies_len: Pointer of length of ies, will update to new length
- * @offset: The offset to start scarch
+ * @offset: The offset to start search
  * @eid: Element ID to match
  * @oui: OUI to match
  * @oui_len: OUI length
index ad06335..7fbbdaf 100644 (file)
@@ -498,7 +498,7 @@ inline void rtw_set_ips_deny23a(struct rtw_adapter *padapter, u32 ms)
 /*
 * rtw_pwr_wakeup - Wake the NIC up from: 1)IPS. 2)USB autosuspend
 * @adapter: pointer to _adapter structure
-* @ips_deffer_ms: the ms wiil prevent from falling into IPS after wakeup
+* @ips_deffer_ms: the ms will prevent from falling into IPS after wakeup
 * Return _SUCCESS or _FAIL
 */
 
index 690970e..a9f8183 100644 (file)
@@ -1185,7 +1185,7 @@ static int validate_recv_ctrl_frame(struct rtw_adapter *padapter,
 
                                        /* DBG_8723A("after handling ps-poll, tim =%x\n", pstapriv->tim_bitmap); */
 
-                                       /* upate BCN for TIM IE */
+                                       /* update BCN for TIM IE */
                                        /* update_BCNTIM(padapter); */
                                        update_beacon23a(padapter, WLAN_EID_TIM,
                                                         NULL, false);
@@ -1217,7 +1217,7 @@ static int validate_recv_ctrl_frame(struct rtw_adapter *padapter,
 
                                        pstapriv->tim_bitmap &= ~CHKBIT(psta->aid);
 
-                                       /* upate BCN for TIM IE */
+                                       /* update BCN for TIM IE */
                                        /* update_BCNTIM(padapter); */
                                        update_beacon23a(padapter, WLAN_EID_TIM,
                                                         NULL, false);
@@ -2363,7 +2363,7 @@ void rtw_signal_stat_timer_hdl23a(unsigned long data)
                                recvpriv->signal_strength_data.avg_val;
                        num_signal_strength =
                                recvpriv->signal_strength_data.total_num;
-                       /*  after avg_vals are accquired, we can re-stat */
+                       /*  after avg_vals are acquired, we can re-stat */
                        /* the signal values */
                        recvpriv->signal_strength_data.update_req = 1;
                }
@@ -2372,7 +2372,7 @@ void rtw_signal_stat_timer_hdl23a(unsigned long data)
                        /*  update_req is clear, means we got rx */
                        avg_signal_qual = recvpriv->signal_qual_data.avg_val;
                        num_signal_qual = recvpriv->signal_qual_data.total_num;
-                       /*  after avg_vals are accquired, we can re-stat */
+                       /*  after avg_vals are acquired, we can re-stat */
                        /*the signal values */
                        recvpriv->signal_qual_data.update_req = 1;
                }