diff options
author | Mateusz Kulikowski <mateusz.kulikowski@gmail.com> | 2015-09-20 08:19:57 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-29 01:34:07 (GMT) |
commit | 5578a5660ba805e9be482855b8f48b02f6f9a290 (patch) | |
tree | 0faa0b0ca8be621c566e61b992433357c73badb0 /drivers/staging/rtl8192e | |
parent | e1f59c71b48581e9b584e2078279d1cecb4ce8ba (diff) | |
download | linux-5578a5660ba805e9be482855b8f48b02f6f9a290.tar.xz |
staging: rtl8192e: Rename dm_initial_gain
Use naming schema found in other rtlwifi devices.
Rename dm_initial_gain to _rtl92e_dm_initial_gain.
Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192e')
-rw-r--r-- | drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c index 6f59eb7..c321bf3 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c @@ -182,7 +182,7 @@ static void dm_ctrl_initgain_byrssi(struct net_device *dev); static void _rtl92e_dm_ctrl_initgain_byrssi_highpwr(struct net_device *dev); static void _rtl92e_dm_ctrl_initgain_byrssi_driver(struct net_device *dev); static void _rtl92e_dm_ctrl_initgain_byrssi_false_alarm(struct net_device *dev); -static void dm_initial_gain(struct net_device *dev); +static void _rtl92e_dm_initial_gain(struct net_device *dev); static void dm_pd_th(struct net_device *dev); static void _rtl92e_dm_cs_ratio(struct net_device *dev); @@ -1378,7 +1378,7 @@ static void _rtl92e_dm_ctrl_initgain_byrssi_driver(struct net_device *dev) dm_digtable.rssi_val = priv->undecorated_smoothed_pwdb; - dm_initial_gain(dev); + _rtl92e_dm_initial_gain(dev); dm_pd_th(dev); _rtl92e_dm_cs_ratio(dev); if (dm_digtable.dig_algorithm_switch) @@ -1516,7 +1516,7 @@ static void _rtl92e_dm_ctrl_initgain_byrssi_highpwr(struct net_device *dev) reset_cnt_highpwr = priv->reset_count; } -static void dm_initial_gain(struct net_device *dev) +static void _rtl92e_dm_initial_gain(struct net_device *dev) { struct r8192_priv *priv = rtllib_priv(dev); u8 initial_gain = 0; |