staging: rtl8192e: Rename dm_rxpath_sel_byrssi
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:20:03 +0000 (10:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:34:08 +0000 (03:34 +0200)
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 <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_dm.c

index 33ee1a2c60510beb0604be3db85d7ad792954694..8dc73f1b518b6b39355b8caa289699e89903eab9 100644 (file)
@@ -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;