diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2014-12-07 14:20:58 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-12-15 13:46:19 -0500 |
commit | cf2bcc97dd332aa1d28eeacba1d8f8f89eccb7aa (patch) | |
tree | 2e6e4a9d8614989d677d7ec1972b50c6e61ab522 /drivers/net/wireless | |
parent | 8dce3e6d7836dba35ecf5f097aa4516128d08675 (diff) |
rtlwifi: rtl8821ae: fix misspelling of current function in string
Replace a misspelled function name by %s and then __func__.
8821 was written as 8812.
This was done using Coccinelle, including the use of Levenshtein distance,
as proposed by Rasmus Villemoes.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8821ae/dm.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8821ae/dm.c b/drivers/net/wireless/rtlwifi/rtl8821ae/dm.c index 9be106109921..ba30b0d250fd 100644 --- a/drivers/net/wireless/rtlwifi/rtl8821ae/dm.c +++ b/drivers/net/wireless/rtlwifi/rtl8821ae/dm.c | |||
@@ -2078,8 +2078,7 @@ void rtl8821ae_dm_txpwr_track_set_pwr(struct ieee80211_hw *hw, | |||
2078 | if (rtldm->tx_rate != 0xFF) | 2078 | if (rtldm->tx_rate != 0xFF) |
2079 | tx_rate = rtl8821ae_hw_rate_to_mrate(hw, rtldm->tx_rate); | 2079 | tx_rate = rtl8821ae_hw_rate_to_mrate(hw, rtldm->tx_rate); |
2080 | 2080 | ||
2081 | RT_TRACE(rtlpriv, COMP_POWER_TRACKING, DBG_LOUD, | 2081 | RT_TRACE(rtlpriv, COMP_POWER_TRACKING, DBG_LOUD, "===>%s\n", __func__); |
2082 | "===>rtl8812ae_dm_txpwr_track_set_pwr\n"); | ||
2083 | 2082 | ||
2084 | if (tx_rate != 0xFF) { /* Mimic Modify High Rate BBSwing Limit.*/ | 2083 | if (tx_rate != 0xFF) { /* Mimic Modify High Rate BBSwing Limit.*/ |
2085 | /*CCK*/ | 2084 | /*CCK*/ |
@@ -2128,7 +2127,7 @@ void rtl8821ae_dm_txpwr_track_set_pwr(struct ieee80211_hw *hw, | |||
2128 | 2127 | ||
2129 | if (method == BBSWING) { | 2128 | if (method == BBSWING) { |
2130 | RT_TRACE(rtlpriv, COMP_POWER_TRACKING, DBG_LOUD, | 2129 | RT_TRACE(rtlpriv, COMP_POWER_TRACKING, DBG_LOUD, |
2131 | "===>rtl8812ae_dm_txpwr_track_set_pwr\n"); | 2130 | "===>%s\n", __func__); |
2132 | if (rf_path == RF90_PATH_A) { | 2131 | if (rf_path == RF90_PATH_A) { |
2133 | final_swing_idx[RF90_PATH_A] = | 2132 | final_swing_idx[RF90_PATH_A] = |
2134 | (rtldm->ofdm_index[RF90_PATH_A] > | 2133 | (rtldm->ofdm_index[RF90_PATH_A] > |
@@ -2260,7 +2259,8 @@ void rtl8821ae_dm_txpower_tracking_callback_thermalmeter( | |||
2260 | rtldm->txpower_trackinginit = true; | 2259 | rtldm->txpower_trackinginit = true; |
2261 | 2260 | ||
2262 | RT_TRACE(rtlpriv, COMP_POWER_TRACKING, DBG_LOUD, | 2261 | RT_TRACE(rtlpriv, COMP_POWER_TRACKING, DBG_LOUD, |
2263 | "===>rtl8812ae_dm_txpower_tracking_callback_thermalmeter,\n pDM_Odm->BbSwingIdxCckBase: %d,pDM_Odm->BbSwingIdxOfdmBase[A]:%d, pDM_Odm->DefaultOfdmIndex: %d\n", | 2262 | "===>%s,\n pDM_Odm->BbSwingIdxCckBase: %d,pDM_Odm->BbSwingIdxOfdmBase[A]:%d, pDM_Odm->DefaultOfdmIndex: %d\n", |
2263 | __func__, | ||
2264 | rtldm->swing_idx_cck_base, | 2264 | rtldm->swing_idx_cck_base, |
2265 | rtldm->swing_idx_ofdm_base[RF90_PATH_A], | 2265 | rtldm->swing_idx_ofdm_base[RF90_PATH_A], |
2266 | rtldm->default_ofdm_index); | 2266 | rtldm->default_ofdm_index); |
@@ -2539,8 +2539,7 @@ void rtl8821ae_dm_txpower_tracking_callback_thermalmeter( | |||
2539 | } | 2539 | } |
2540 | } | 2540 | } |
2541 | 2541 | ||
2542 | RT_TRACE(rtlpriv, COMP_POWER_TRACKING, DBG_LOUD, | 2542 | RT_TRACE(rtlpriv, COMP_POWER_TRACKING, DBG_LOUD, "<===%s\n", __func__); |
2543 | "<===rtl8812ae_dm_txpower_tracking_callback_thermalmeter\n"); | ||
2544 | } | 2543 | } |
2545 | 2544 | ||
2546 | void rtl8821ae_dm_check_txpower_tracking_thermalmeter(struct ieee80211_hw *hw) | 2545 | void rtl8821ae_dm_check_txpower_tracking_thermalmeter(struct ieee80211_hw *hw) |