Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f2588483 authored by Greg Donald's avatar Greg Donald Committed by Greg Kroah-Hartman
Browse files

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: default avatarGreg Donald <gdonald@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0b4ef0a6
Loading
Loading
Loading
Loading
+252 −258
Original line number Original line Diff line number Diff line
@@ -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,
		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,
	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,
	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;