staging: rtl8192e: Rename rtl8192_signal_scale_mapping
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:13:58 +0000 (10:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:33:51 +0000 (03:33 +0200)
Use naming schema found in other rtlwifi devices.
Rename rtl8192_signal_scale_mapping to _rtl92e_signal_scale_mapping.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c

index ff0f99b0874dfcfe933270d6675a0ce8441bfdea..db3126b0858bcd2cdbda801c26322eddcd89a1c8 100644 (file)
@@ -1438,7 +1438,7 @@ static u8 _rtl92e_rate_hw_to_mgn(bool bIsHT, u8 rate)
        return ret_rate;
 }
 
-static long rtl8192_signal_scale_mapping(struct r8192_priv *priv, long currsig)
+static long _rtl92e_signal_scale_mapping(struct r8192_priv *priv, long currsig)
 {
        long retsig;
 
@@ -1678,13 +1678,13 @@ static void _rtl92e_query_rxphystatus(
 
        if (is_cck_rate) {
                pstats->SignalStrength = precord_stats->SignalStrength =
-                                        (u8)(rtl8192_signal_scale_mapping(priv,
+                                        (u8)(_rtl92e_signal_scale_mapping(priv,
                                         (long)pwdb_all));
 
        } else {
                if (rf_rx_num != 0)
                        pstats->SignalStrength = precord_stats->SignalStrength =
-                                        (u8)(rtl8192_signal_scale_mapping(priv,
+                                        (u8)(_rtl92e_signal_scale_mapping(priv,
                                         (long)(total_rssi /= rf_rx_num)));
        }
 }