aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/regdomain.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/regdomain.c')
-rw-r--r--net/mac80211/regdomain.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/net/mac80211/regdomain.c b/net/mac80211/regdomain.c
index b697a2afbb4b..f42678fa62d1 100644
--- a/net/mac80211/regdomain.c
+++ b/net/mac80211/regdomain.c
@@ -82,12 +82,6 @@ static void ieee80211_unmask_channel(int mode, struct ieee80211_channel *chan)
82 82
83 chan->flag = 0; 83 chan->flag = 0;
84 84
85 if (ieee80211_regdom == 64 &&
86 (mode == MODE_ATHEROS_TURBO || mode == MODE_ATHEROS_TURBOG)) {
87 /* Do not allow Turbo modes in Japan. */
88 return;
89 }
90
91 for (i = 0; channel_range[i].start_freq; i++) { 85 for (i = 0; channel_range[i].start_freq; i++) {
92 const struct ieee80211_channel_range *r = &channel_range[i]; 86 const struct ieee80211_channel_range *r = &channel_range[i];
93 if (r->start_freq <= chan->freq && r->end_freq >= chan->freq) { 87 if (r->start_freq <= chan->freq && r->end_freq >= chan->freq) {