staging: rtl8192u: Correct indentation of switch statement - Coding Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Sun, 24 Jun 2018 15:34:48 +0000 (16:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Jun 2018 03:51:00 +0000 (11:51 +0800)
Removed an extra indentation from the code of the various case options in a
switch statement.

Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c

index 54c48747f5fa58a3b7773dbdf3b887efb331ad88..4bfadb49c363626e3925fafce8185a12c8c53cf4 100644 (file)
@@ -753,28 +753,28 @@ static u8 HT_PickMCSRate(struct ieee80211_device *ieee, u8 *pOperateMCS)
        case IEEE_A:
        case IEEE_B:
        case IEEE_G:
-                       //legacy rate routine handled at selectedrate
+               //legacy rate routine handled at selectedrate
 
-                       //no MCS rate
-                       for (i = 0; i <= 15; i++)
-                               pOperateMCS[i] = 0;
-                       break;
+               //no MCS rate
+               for (i = 0; i <= 15; i++)
+                       pOperateMCS[i] = 0;
+               break;
 
        case IEEE_N_24G:        //assume CCK rate ok
        case IEEE_N_5G:
-                       // Legacy part we only use 6, 5.5,2,1 for N_24G and 6 for N_5G.
-                       // Legacy part shall be handled at SelectRateSet().
-
-                       //HT part
-                       // TODO: may be different if we have different number of antenna
-                       pOperateMCS[0] &= RATE_ADPT_1SS_MASK;   //support MCS 0~7
-                       pOperateMCS[1] &= RATE_ADPT_2SS_MASK;
-                       pOperateMCS[3] &= RATE_ADPT_MCS32_MASK;
-                       break;
+               // Legacy part we only use 6, 5.5,2,1 for N_24G and 6 for N_5G.
+               // Legacy part shall be handled at SelectRateSet().
+
+               //HT part
+               // TODO: may be different if we have different number of antenna
+               pOperateMCS[0] &= RATE_ADPT_1SS_MASK;   //support MCS 0~7
+               pOperateMCS[1] &= RATE_ADPT_2SS_MASK;
+               pOperateMCS[3] &= RATE_ADPT_MCS32_MASK;
+               break;
 
        //should never reach here
        default:
-                       break;
+               break;
        }
 
        return true;