From: Eliad Peller Date: Sun, 1 Mar 2015 07:10:01 +0000 (+0200) Subject: cfg80211: add operating classes 128-130 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=954a86ef45ffa2db4e361d5344ed61464fb2a204;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git cfg80211: add operating classes 128-130 Operating classes 128-130 are defined in the 11ac spec for the 5GHz band. Update ieee80211_operating_class_to_band() to support them. Signed-off-by: Eliad Peller Signed-off-by: Emmanuel Grumbach Signed-off-by: Johannes Berg --- diff --git a/net/wireless/util.c b/net/wireless/util.c index 6903dbdcb8c1..f7b35980af69 100644 --- a/net/wireless/util.c +++ b/net/wireless/util.c @@ -1296,6 +1296,7 @@ bool ieee80211_operating_class_to_band(u8 operating_class, switch (operating_class) { case 112: case 115 ... 127: + case 128 ... 130: *band = IEEE80211_BAND_5GHZ; return true; case 81: