Commit 25c01ec3 authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman

staging: rtl8192e: Rename dm_restore_dynamic_mechanism_state

Use naming schema found in other rtlwifi devices.
Rename dm_restore_dynamic_mechanism_state to rtl92e_dm_restore_state.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5a9f18cf
......@@ -1377,7 +1377,7 @@ static void rtl819x_ifsilentreset(struct net_device *dev)
}
rtl92e_cam_restore(dev);
dm_restore_dynamic_mechanism_state(dev);
rtl92e_dm_restore_state(dev);
END:
priv->ResetProgress = RESET_TYPE_NORESET;
priv->reset_count++;
......
......@@ -1191,7 +1191,7 @@ static void dm_txpower_reset_recovery(struct net_device *dev)
dm_tx_bb_gain_idx_to_amplify(priv->rfc_txpowertrackingindex));
}
void dm_restore_dynamic_mechanism_state(struct net_device *dev)
void rtl92e_dm_restore_state(struct net_device *dev)
{
struct r8192_priv *priv = rtllib_priv(dev);
u32 reg_ratr = priv->rate_adaptive.last_ratr;
......@@ -1199,7 +1199,7 @@ void dm_restore_dynamic_mechanism_state(struct net_device *dev)
if (!priv->up) {
RT_TRACE(COMP_RATE,
"<---- dm_restore_dynamic_mechanism_state(): driver is going to unload\n");
"<---- rtl92e_dm_restore_state(): driver is going to unload\n");
return;
}
......
......@@ -199,7 +199,7 @@ extern void dm_txpower_trackingcallback(void *data);
extern void rtl92e_dm_cck_txpower_adjust(struct net_device *dev, bool binch14);
extern void dm_restore_dynamic_mechanism_state(struct net_device *dev);
extern void rtl92e_dm_restore_state(struct net_device *dev);
extern void rtl92e_dm_backup_state(struct net_device *dev);
extern void rtl92e_dm_init_edca_turbo(struct net_device *dev);
extern void dm_rf_pathcheck_workitemcallback(void *data);
......
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