EP-FEDC771DF4FF48A9829CB85254E29FD3 hello Joe, Rafel, Wireless Community, I have incorporated your review comments. Please find updated patch. >From 30f4fb72bcb10f9f6589ea22e26e37631f07f8fe Mon Sep 17 00:00:00 2001 From: Rahul Jain Date: Mon, 25 May 2015 14:15:36 +0530 Subject: [PATCH] cfg80211: moving up BAND_2GHZ above BAND_5GHZ regulatory class Signed-off-by: Rahul Jain --- net/wireless/util.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/net/wireless/util.c b/net/wireless/util.c index 70051ab..b1aca3e 100644 --- a/net/wireless/util.c +++ b/net/wireless/util.c @@ -1335,17 +1335,13 @@ bool ieee80211_operating_class_to_band(u8 operating_class, enum ieee80211_band *band) { switch (operating_class) { + case 81 ... 84: + *band = IEEE80211_BAND_2GHZ; + return true; case 112: - case 115 ... 127: - case 128 ... 130: + case 115 ... 130: *band = IEEE80211_BAND_5GHZ; return true; - case 81: - case 82: - case 83: - case 84: - *band = IEEE80211_BAND_2GHZ; - return true; case 180: *band = IEEE80211_BAND_60GHZ; return true; -- 1.7.9.5 Thanks -Rahul Jain ��.n��������+%������w��{.n�����{���zW����ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f