wifi: rtlwifi: rtl92ee_dm_dynamic_primary_cca_check(): fix typo in function name
authorDmitry Antipov <dmantipov@yandex.ru>
Mon, 23 Oct 2023 09:17:06 +0000 (12:17 +0300)
committerKalle Valo <kvalo@kernel.org>
Mon, 30 Oct 2023 17:21:22 +0000 (19:21 +0200)
For rtl8192ee, change 'rtl92ee_dm_dynamic_primary_cca_ckeck()'
to 'rtl92ee_dm_dynamic_primary_cca_check()' and so adjust
'rtl92ee_dm_watchdog()' as well. Compile tested only.

Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20231023091722.52509-3-dmantipov@yandex.ru
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c

index fad132512a20fe4853febd8b711b1c4f5ff4cfda..17486e3f322c7733fc3fe80ae2934639140ce18b 100644 (file)
@@ -560,7 +560,7 @@ static void rtl92ee_dm_write_dynamic_cca(struct ieee80211_hw *hw,
        primarycca->mf_state = cur_mf_state;
 }
 
-static void rtl92ee_dm_dynamic_primary_cca_ckeck(struct ieee80211_hw *hw)
+static void rtl92ee_dm_dynamic_primary_cca_check(struct ieee80211_hw *hw)
 {
        struct rtl_priv *rtlpriv = rtl_priv(hw);
        struct false_alarm_statistics *falsealm_cnt = &rtlpriv->falsealm_cnt;
@@ -1083,7 +1083,7 @@ void rtl92ee_dm_watchdog(struct ieee80211_hw *hw)
                rtl92ee_dm_refresh_rate_adaptive_mask(hw);
                rtl92ee_dm_check_edca_turbo(hw);
                rtl92ee_dm_dynamic_atc_switch(hw);
-               rtl92ee_dm_dynamic_primary_cca_ckeck(hw);
+               rtl92ee_dm_dynamic_primary_cca_check(hw);
        }
        spin_unlock(&rtlpriv->locks.rf_ps_lock);
 }