From 264045986f689af5abd08be6a0a124affc40fc90 Mon Sep 17 00:00:00 2001 From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 10:24:10 +0200 Subject: [PATCH] staging: rtl8192e: Rename dm_tx_update_tssi_strong_signal Use naming schema found in other rtlwifi devices. Rename dm_tx_update_tssi_strong_signal to _rtl92e_dm_tx_update_tssi_strong_signal. Signed-off-by: Mateusz Kulikowski Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c index ec5c12d..77a2360 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c @@ -592,7 +592,8 @@ static void dm_tx_update_tssi_weak_signal(struct net_device *dev, u8 RF_Type) } } -static void dm_tx_update_tssi_strong_signal(struct net_device *dev, u8 RF_Type) +static void _rtl92e_dm_tx_update_tssi_strong_signal(struct net_device *dev, + u8 RF_Type) { struct r8192_priv *p = rtllib_priv(dev); @@ -766,7 +767,7 @@ static void _rtl92e_dm_tx_power_tracking_callback_tssi(struct net_device *dev) if (Avg_TSSI_Meas_from_driver < TSSI_13dBm - E_FOR_TX_POWER_TRACK) dm_tx_update_tssi_weak_signal(dev, RF_Type); else - dm_tx_update_tssi_strong_signal(dev, RF_Type); + _rtl92e_dm_tx_update_tssi_strong_signal(dev, RF_Type); if (RF_Type == RF_2T4R) { priv->CCKPresentAttentuation_difference -- 2.7.4