Commit 33059f54 authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman

staging: rtl8192e: Rename dm_txpower_trackingcallback

Use naming schema found in other rtlwifi devices.
Rename dm_txpower_trackingcallback to rtl92e_dm_txpower_tracking_wq.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3cd4db70
...@@ -1027,7 +1027,7 @@ static void rtl8192_init_priv_task(struct net_device *dev) ...@@ -1027,7 +1027,7 @@ static void rtl8192_init_priv_task(struct net_device *dev)
INIT_DELAYED_WORK_RSL(&priv->watch_dog_wq, INIT_DELAYED_WORK_RSL(&priv->watch_dog_wq,
(void *)rtl819x_watchdog_wqcallback, dev); (void *)rtl819x_watchdog_wqcallback, dev);
INIT_DELAYED_WORK_RSL(&priv->txpower_tracking_wq, INIT_DELAYED_WORK_RSL(&priv->txpower_tracking_wq,
(void *)dm_txpower_trackingcallback, dev); (void *)rtl92e_dm_txpower_tracking_wq, dev);
INIT_DELAYED_WORK_RSL(&priv->rfpath_check_wq, INIT_DELAYED_WORK_RSL(&priv->rfpath_check_wq,
(void *)rtl92e_dm_rf_pathcheck_wq, dev); (void *)rtl92e_dm_rf_pathcheck_wq, dev);
INIT_DELAYED_WORK_RSL(&priv->update_beacon_wq, INIT_DELAYED_WORK_RSL(&priv->update_beacon_wq,
......
...@@ -947,7 +947,7 @@ static void dm_TXPowerTrackingCallback_ThermalMeter(struct net_device *dev) ...@@ -947,7 +947,7 @@ static void dm_TXPowerTrackingCallback_ThermalMeter(struct net_device *dev)
priv->txpower_count = 0; priv->txpower_count = 0;
} }
void dm_txpower_trackingcallback(void *data) void rtl92e_dm_txpower_tracking_wq(void *data)
{ {
struct r8192_priv *priv = container_of_dwork_rsl(data, struct r8192_priv *priv = container_of_dwork_rsl(data,
struct r8192_priv, txpower_tracking_wq); struct r8192_priv, txpower_tracking_wq);
......
...@@ -195,7 +195,7 @@ extern void hal_dm_watchdog(struct net_device *dev); ...@@ -195,7 +195,7 @@ extern void hal_dm_watchdog(struct net_device *dev);
extern void init_rate_adaptive(struct net_device *dev); extern void init_rate_adaptive(struct net_device *dev);
extern void dm_txpower_trackingcallback(void *data); extern void rtl92e_dm_txpower_tracking_wq(void *data);
extern void rtl92e_dm_cck_txpower_adjust(struct net_device *dev, bool binch14); extern void rtl92e_dm_cck_txpower_adjust(struct net_device *dev, bool binch14);
......
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