From 8c0510e7399ac6b07e6b82f789d68233c20cc9bc Mon Sep 17 00:00:00 2001 From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 10:20:03 +0200 Subject: [PATCH] staging: rtl8192e: Rename dm_rxpath_sel_byrssi Use naming schema found in other rtlwifi devices. Rename dm_rxpath_sel_byrssi to _rtl92e_dm_rx_path_sel_byrssi. Signed-off-by: Mateusz Kulikowski Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c index 33ee1a2c6051..8dc73f1b518b 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c @@ -196,7 +196,7 @@ static void _rtl92e_dm_check_pbc_gpio(struct net_device *dev); static void _rtl92e_dm_check_rx_path_selection(struct net_device *dev); static void _rtl92e_dm_init_rx_path_selection(struct net_device *dev); -static void dm_rxpath_sel_byrssi(struct net_device *dev); +static void _rtl92e_dm_rx_path_sel_byrssi(struct net_device *dev); static void _rtl92e_dm_init_fsync(struct net_device *dev); @@ -1912,7 +1912,7 @@ void rtl92e_dm_rf_pathcheck_wq(void *data) if (!DM_RxPathSelTable.Enable) return; - dm_rxpath_sel_byrssi(dev); + _rtl92e_dm_rx_path_sel_byrssi(dev); } static void _rtl92e_dm_init_rx_path_selection(struct net_device *dev) @@ -1938,7 +1938,7 @@ static void _rtl92e_dm_init_rx_path_selection(struct net_device *dev) #define PWDB_IN_RANGE ((cur_cck_pwdb < tmp_cck_max_pwdb) && \ (cur_cck_pwdb > tmp_cck_sec_pwdb)) -static void dm_rxpath_sel_byrssi(struct net_device *dev) +static void _rtl92e_dm_rx_path_sel_byrssi(struct net_device *dev) { struct r8192_priv *priv = rtllib_priv(dev); u8 i, max_rssi_index = 0, min_rssi_index = 0; -- 2.30.2