Commit 721d2f8d authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman

staging: rtl8192e: Rename dm_TXPowerTrackingCallback_ThermalMeter

Use naming schema found in other rtlwifi devices.
Rename dm_TXPowerTrackingCallback_ThermalMeter to
_rtl92e_dm_tx_power_tracking_cb_thermal.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1b97c220
...@@ -837,7 +837,7 @@ static void dm_TXPowerTrackingCallback_TSSI(struct net_device *dev) ...@@ -837,7 +837,7 @@ static void dm_TXPowerTrackingCallback_TSSI(struct net_device *dev)
rtl92e_writeb(dev, Pw_Track_Flag, 0); rtl92e_writeb(dev, Pw_Track_Flag, 0);
} }
static void dm_TXPowerTrackingCallback_ThermalMeter(struct net_device *dev) static void _rtl92e_dm_tx_power_tracking_cb_thermal(struct net_device *dev)
{ {
#define ThermalMeterVal 9 #define ThermalMeterVal 9
struct r8192_priv *priv = rtllib_priv(dev); struct r8192_priv *priv = rtllib_priv(dev);
...@@ -949,7 +949,7 @@ void rtl92e_dm_txpower_tracking_wq(void *data) ...@@ -949,7 +949,7 @@ void rtl92e_dm_txpower_tracking_wq(void *data)
if (priv->IC_Cut >= IC_VersionCut_D) if (priv->IC_Cut >= IC_VersionCut_D)
dm_TXPowerTrackingCallback_TSSI(dev); dm_TXPowerTrackingCallback_TSSI(dev);
else else
dm_TXPowerTrackingCallback_ThermalMeter(dev); _rtl92e_dm_tx_power_tracking_cb_thermal(dev);
} }
static void _rtl92e_dm_initialize_tx_power_tracking_tssi(struct net_device *dev) static void _rtl92e_dm_initialize_tx_power_tracking_tssi(struct net_device *dev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment