summaryrefslogtreecommitdiffstats
path: root/net/wireless/reg.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez2009-05-02 06:37:18 +0200
committerJohn W. Linville2009-05-20 20:46:22 +0200
commit689da1b3b8b37ff41e79f3fb973c06cdfeef12e5 (patch)
tree57accde02817fa1fdb61ddafd16263294e065ed8 /net/wireless/reg.c
parentcfg80211: Process regulatory max bandwidth checks for HT40 (diff)
downloadkernel-qcow2-linux-689da1b3b8b37ff41e79f3fb973c06cdfeef12e5.tar.gz
kernel-qcow2-linux-689da1b3b8b37ff41e79f3fb973c06cdfeef12e5.tar.xz
kernel-qcow2-linux-689da1b3b8b37ff41e79f3fb973c06cdfeef12e5.zip
wireless: rename IEEE80211_CHAN_NO_FAT_* to HT40-/+
This is more consistent with our nl80211 naming convention for HT40-/+. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/reg.c')
-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,
* to include that as well.
*/
if (is_ht40_not_allowed(channel_before))
- channel->flags |= IEEE80211_CHAN_NO_FAT_BELOW;
+ channel->flags |= IEEE80211_CHAN_NO_HT40MINUS;
else
- channel->flags &= ~IEEE80211_CHAN_NO_FAT_BELOW;
+ channel->flags &= ~IEEE80211_CHAN_NO_HT40MINUS;
if (is_ht40_not_allowed(channel_after))
- channel->flags |= IEEE80211_CHAN_NO_FAT_ABOVE;
+ channel->flags |= IEEE80211_CHAN_NO_HT40PLUS;
else
- channel->flags &= ~IEEE80211_CHAN_NO_FAT_ABOVE;
+ channel->flags &= ~IEEE80211_CHAN_NO_HT40PLUS;
}
static void reg_process_ht_flags_band(struct wiphy *wiphy,