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

staging: rtl8188eu: rename parameter of odm_QueryRxPwrPercentage()

Rename parameter of odm_QueryRxPwrPercentage() to avoid CamelCase.
AntPower -> antpower
Signed-off-by: default avatarMichael Straube <straube.linux@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d80c4b19
...@@ -14,14 +14,14 @@ ...@@ -14,14 +14,14 @@
#define READ_AND_CONFIG_MP(ic, txt) (ODM_ReadAndConfig##txt##ic(dm_odm)) #define READ_AND_CONFIG_MP(ic, txt) (ODM_ReadAndConfig##txt##ic(dm_odm))
#define READ_AND_CONFIG_TC(ic, txt) (ODM_ReadAndConfig_TC##txt##ic(dm_odm)) #define READ_AND_CONFIG_TC(ic, txt) (ODM_ReadAndConfig_TC##txt##ic(dm_odm))
static u8 odm_QueryRxPwrPercentage(s8 AntPower) static u8 odm_QueryRxPwrPercentage(s8 antpower)
{ {
if ((AntPower <= -100) || (AntPower >= 20)) if ((antpower <= -100) || (antpower >= 20))
return 0; return 0;
else if (AntPower >= 0) else if (antpower >= 0)
return 100; return 100;
else else
return 100 + AntPower; return 100 + antpower;
} }
/* 2012/01/12 MH MOve some signal strength smooth method to MP HAL layer. */ /* 2012/01/12 MH MOve some signal strength smooth method to MP HAL layer. */
......
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