Search Linux Wireless

[PATCH] Reordering for better readability and consistency [EDT]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



EP-FEDC771DF4FF48A9829CB85254E29FD3

hello Wireless Community,

Please find patch for review.

>From 328fb9d1b772788fc51e7f9bb21e57a1d91b0188 Mon Sep 17 00:00:00 2001
From: Rahul Jain <rahul.jain@xxxxxxxxxxx>
Date: Mon, 25 May 2015 12:02:12 +0530
Subject: [PATCH] Reordering for better readability and consistency


Signed-off-by: Rahul Jain <rahul.jain@xxxxxxxxxxx>
---
 net/wireless/util.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/net/wireless/util.c b/net/wireless/util.c
index 70051ab..cfc87d4 100644
--- a/net/wireless/util.c
+++ b/net/wireless/util.c
@@ -1340,10 +1340,7 @@ bool ieee80211_operating_class_to_band(u8 operating_class,
 	case 128 ... 130:
 		*band = IEEE80211_BAND_5GHZ;
 		return true;
-	case 81:
-	case 82:
-	case 83:
-	case 84:
+	case 81 ... 84:
 		*band = IEEE80211_BAND_2GHZ;
 		return true;
 	case 180:
-- 
1.7.9.5




Thanks
-Rahul Jain ��.n��������+%������w��{.n�����{���zW����ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux