Commit de3bb287 authored by Michael Straube's avatar Michael Straube Committed by Greg Kroah-Hartman

staging: rtl8188eu: rename parameter of odm_EVMdbToPercentage()

Rename parameter of odm_EVMdbToPercentage() to avoid CamelCase.
Value -> value
Signed-off-by: default avatarMichael Straube <straube.linux@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c8a2da5a
...@@ -49,12 +49,12 @@ static s32 odm_SignalScaleMapping(struct odm_dm_struct *dm_odm, s32 CurrSig) ...@@ -49,12 +49,12 @@ static s32 odm_SignalScaleMapping(struct odm_dm_struct *dm_odm, s32 CurrSig)
return RetSig; return RetSig;
} }
static u8 odm_EVMdbToPercentage(s8 Value) static u8 odm_EVMdbToPercentage(s8 value)
{ {
/* -33dB~0dB to 0%~99% */ /* -33dB~0dB to 0%~99% */
s8 ret_val; s8 ret_val;
ret_val = Value; ret_val = value;
if (ret_val >= 0) if (ret_val >= 0)
ret_val = 0; ret_val = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment