mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-04 03:33:58 +08:00
staging: rtl8192u: Correct indentation of switch statement - Coding Style
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>
This commit is contained in:
parent
9b468c7e02
commit
5d9f4b53ca
@ -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().
|
||||
// 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;
|
||||
//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;
|
||||
|
Loading…
Reference in New Issue
Block a user