diff options
author | Michael Straube <straube.linux@gmail.com> | 2022-09-11 18:19:49 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-09-24 13:07:54 +0200 |
commit | 368eca5bcf61401d4cdd0070ff9688171996e4c0 (patch) | |
tree | 7866b7a998cebab800b9ca2de17cbe04ca2d99a9 /drivers/staging | |
parent | f7438373fa0283d5b086df238e19f3d3ded9b8e5 (diff) | |
download | linux-368eca5bcf61401d4cdd0070ff9688171996e4c0.tar.bz2 |
staging: r8188eu: replace tabs with space in odm_query_rxpwrpercentage()
In statements spaces should be used not tabs. Replace tabs withs spaces
in two return statements in odm_query_rxpwrpercentage().
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220911161949.11293-7-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/r8188eu/hal/odm_HWConfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/r8188eu/hal/odm_HWConfig.c b/drivers/staging/r8188eu/hal/odm_HWConfig.c index a870973395f6..38f357e8aeda 100644 --- a/drivers/staging/r8188eu/hal/odm_HWConfig.c +++ b/drivers/staging/r8188eu/hal/odm_HWConfig.c @@ -6,9 +6,9 @@ static u8 odm_query_rxpwrpercentage(s8 antpower) { if ((antpower <= -100) || (antpower >= 20)) - return 0; + return 0; else if (antpower >= 0) - return 100; + return 100; else return 100 + antpower; } |