]> www.infradead.org Git - users/willy/xarray.git/commitdiff
staging: rtl8188eu: rename odm_SignalScaleMapping()
authorMichael Straube <straube.linux@gmail.com>
Sun, 30 Sep 2018 19:53:04 +0000 (21:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2018 22:20:40 +0000 (15:20 -0700)
Rename odm_SignalScaleMapping to avoid CamelCase.
odm_SignalScaleMapping -> odm_signal_scale_mapping

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/odm_hwconfig.c

index 498785d32a0bad41c21238bd1c101010cef59d80..82d6b2e18b2975e67b7c327ba05c4e63c31d9799 100644 (file)
@@ -26,7 +26,7 @@ static u8 odm_query_rxpwrpercentage(s8 antpower)
 
 /*  2012/01/12 MH MOve some signal strength smooth method to MP HAL layer. */
 /*  IF other SW team do not support the feature, remove this section.?? */
-static s32 odm_SignalScaleMapping(struct odm_dm_struct *dm_odm, s32 currsig)
+static s32 odm_signal_scale_mapping(struct odm_dm_struct *dm_odm, s32 currsig)
 {
        s32 retsig = 0;
 
@@ -244,10 +244,10 @@ static void odm_RxPhyStatus92CSeries_Parsing(struct odm_dm_struct *dm_odm,
        /* UI BSS List signal strength(in percentage), make it good looking, from 0~100. */
        /* It is assigned to the BSS List in GetValueFromBeaconOrProbeRsp(). */
        if (isCCKrate) {
-               pPhyInfo->SignalStrength = (u8)(odm_SignalScaleMapping(dm_odm, PWDB_ALL));/* PWDB_ALL; */
+               pPhyInfo->SignalStrength = (u8)(odm_signal_scale_mapping(dm_odm, PWDB_ALL));/* PWDB_ALL; */
        } else {
                if (rf_rx_num != 0)
-                       pPhyInfo->SignalStrength = (u8)(odm_SignalScaleMapping(dm_odm, total_rssi /= rf_rx_num));
+                       pPhyInfo->SignalStrength = (u8)(odm_signal_scale_mapping(dm_odm, total_rssi /= rf_rx_num));
        }
 
        /* For 92C/92D HW (Hybrid) Antenna Diversity */