staging: r8188eu: replace tabs with space in odm_query_rxpwrpercentage()
authorMichael Straube <straube.linux@gmail.com>
Sun, 11 Sep 2022 16:19:49 +0000 (18:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 24 Sep 2022 11:07:54 +0000 (13:07 +0200)
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>
drivers/staging/r8188eu/hal/odm_HWConfig.c

index a870973395f61c98a3da95a422db46dd93824908..38f357e8aedaa8ce88e4816cebc0d3891265ac2e 100644 (file)
@@ -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;
 }