提交 f2588483 编写于 作者: G Greg Donald 提交者: Greg Kroah-Hartman

drivers: staging: rtl8192u: Fix switch and case should be at the same indent errors

Fix checkpatch.pl switch and case should be at the same indent errors
Signed-off-by: NGreg Donald <gdonald@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 0b4ef0a6
...@@ -1408,7 +1408,7 @@ static u8 MRateToHwRate8190Pci(u8 rate) ...@@ -1408,7 +1408,7 @@ static u8 MRateToHwRate8190Pci(u8 rate)
ret = DESC90_RATE54M; ret = DESC90_RATE54M;
break; break;
// HT rate since here /* HT rate since here */
case MGN_MCS0: case MGN_MCS0:
ret = DESC90_RATEMCS0; ret = DESC90_RATEMCS0;
break; break;
...@@ -4314,9 +4314,7 @@ UpdateReceivedRateHistogramStatistics8190(struct net_device *dev, ...@@ -4314,9 +4314,7 @@ UpdateReceivedRateHistogramStatistics8190(struct net_device *dev,
preamble_guardinterval = 0;// long preamble_guardinterval = 0;// long
switch (stats->rate) { switch (stats->rate) {
// /* CCK rate */
// CCK rate
//
case MGN_1M: case MGN_1M:
rateIndex = 0; rateIndex = 0;
break; break;
...@@ -4329,9 +4327,7 @@ UpdateReceivedRateHistogramStatistics8190(struct net_device *dev, ...@@ -4329,9 +4327,7 @@ UpdateReceivedRateHistogramStatistics8190(struct net_device *dev,
case MGN_11M: case MGN_11M:
rateIndex = 3; rateIndex = 3;
break; break;
// /* Legacy OFDM rate */
// Legacy OFDM rate
//
case MGN_6M: case MGN_6M:
rateIndex = 4; rateIndex = 4;
break; break;
...@@ -4356,9 +4352,7 @@ UpdateReceivedRateHistogramStatistics8190(struct net_device *dev, ...@@ -4356,9 +4352,7 @@ UpdateReceivedRateHistogramStatistics8190(struct net_device *dev,
case MGN_54M: case MGN_54M:
rateIndex = 11; rateIndex = 11;
break; break;
// /* 11n High throughput rate */
// 11n High throughput rate
//
case MGN_MCS0: case MGN_MCS0:
rateIndex = 12; rateIndex = 12;
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册