aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
Diffstat (limited to 'net/wireless')
-rw-r--r--net/wireless/reg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index d897528ee7fc..48db569d4c6b 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -1226,14 +1226,14 @@ static void reg_process_ht_flags_channel(struct wiphy *wiphy,
1226 * to include that as well. 1226 * to include that as well.
1227 */ 1227 */
1228 if (is_ht40_not_allowed(channel_before)) 1228 if (is_ht40_not_allowed(channel_before))
1229 channel->flags |= IEEE80211_CHAN_NO_FAT_BELOW; 1229 channel->flags |= IEEE80211_CHAN_NO_HT40MINUS;
1230 else 1230 else
1231 channel->flags &= ~IEEE80211_CHAN_NO_FAT_BELOW; 1231 channel->flags &= ~IEEE80211_CHAN_NO_HT40MINUS;
1232 1232
1233 if (is_ht40_not_allowed(channel_after)) 1233 if (is_ht40_not_allowed(channel_after))
1234 channel->flags |= IEEE80211_CHAN_NO_FAT_ABOVE; 1234 channel->flags |= IEEE80211_CHAN_NO_HT40PLUS;
1235 else 1235 else
1236 channel->flags &= ~IEEE80211_CHAN_NO_FAT_ABOVE; 1236 channel->flags &= ~IEEE80211_CHAN_NO_HT40PLUS;
1237} 1237}
1238 1238
1239static void reg_process_ht_flags_band(struct wiphy *wiphy, 1239static void reg_process_ht_flags_band(struct wiphy *wiphy,