From ea3ab341a205097c88ca0327e6b506f2f508c18c Mon Sep 17 00:00:00 2001 From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 10:24:11 +0200 Subject: [PATCH] staging: rtl8192e: Rename dm_tx_update_tssi_weak_signal Use naming schema found in other rtlwifi devices. Rename dm_tx_update_tssi_weak_signal to _rtl92e_dm_tx_update_tssi_weak_signal. Signed-off-by: Mateusz Kulikowski Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c index 77a236073332..d0e59eeae0fa 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c @@ -544,7 +544,8 @@ static u8 CCKSwingTable_Ch14[CCK_Table_length][8] = { #define Tssi_Report_Value2 0x13e #define FW_Busy_Flag 0x13f -static void dm_tx_update_tssi_weak_signal(struct net_device *dev, u8 RF_Type) +static void _rtl92e_dm_tx_update_tssi_weak_signal(struct net_device *dev, + u8 RF_Type) { struct r8192_priv *p = rtllib_priv(dev); @@ -765,7 +766,8 @@ static void _rtl92e_dm_tx_power_tracking_callback_tssi(struct net_device *dev) return; } if (Avg_TSSI_Meas_from_driver < TSSI_13dBm - E_FOR_TX_POWER_TRACK) - dm_tx_update_tssi_weak_signal(dev, RF_Type); + _rtl92e_dm_tx_update_tssi_weak_signal(dev, + RF_Type); else _rtl92e_dm_tx_update_tssi_strong_signal(dev, RF_Type); -- 2.30.2