rtlwifi: rtl8821ae: fix typos in comments
authorJulia Lawall <Julia.Lawall@inria.fr>
Mon, 14 Mar 2022 11:53:43 +0000 (12:53 +0100)
committerKalle Valo <kvalo@kernel.org>
Wed, 16 Mar 2022 15:30:29 +0000 (17:30 +0200)
Various spelling mistakes in comments.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220314115354.144023-20-Julia.Lawall@inria.fr
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c

index f6bff0e..f3fe167 100644 (file)
@@ -872,7 +872,7 @@ static void rtl8821ae_dm_false_alarm_counter_statistics(struct ieee80211_hw *hw)
        else
                falsealm_cnt->cnt_all = falsealm_cnt->cnt_ofdm_fail;
 
-       /*reset OFDM FA coutner*/
+       /*reset OFDM FA counter*/
        rtl_set_bbreg(hw, ODM_REG_OFDM_FA_RST_11AC, BIT(17), 1);
        rtl_set_bbreg(hw, ODM_REG_OFDM_FA_RST_11AC, BIT(17), 0);
        /* reset CCK FA counter*/
@@ -1464,7 +1464,7 @@ void rtl8812ae_dm_txpower_tracking_callback_thermalmeter(
        const u8 *delta_swing_table_idx_tup_b;
        const u8 *delta_swing_table_idx_tdown_b;
 
-       /*2. Initilization ( 7 steps in total )*/
+       /*2. Initialization ( 7 steps in total )*/
        rtl8812ae_get_delta_swing_table(hw,
                &delta_swing_table_idx_tup_a,
                &delta_swing_table_idx_tdown_a,
@@ -2502,7 +2502,7 @@ static void rtl8821ae_dm_check_edca_turbo(struct ieee80211_hw *hw)
        rtlpriv->dm.dbginfo.num_non_be_pkt = 0;
 
        /*===============================
-        * list paramter for different platform
+        * list parameter for different platform
         *===============================
         */
        pb_is_cur_rdl_state = &rtlpriv->dm.is_cur_rdlstate;