From a86f6ccad70f8360d8dca73293d1e21ae6bc294b Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Mon, 24 Nov 2008 16:11:19 +0200 Subject: [PATCH] Rename [40HT] to [HT40] in ht_capab --- hostapd/config.c | 2 +- hostapd/hostapd.conf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hostapd/config.c b/hostapd/config.c index 86507f4c6..b4ac830b3 100644 --- a/hostapd/config.c +++ b/hostapd/config.c @@ -1315,7 +1315,7 @@ static int hostapd_config_ht_capab(struct hostapd_config *conf, { if (os_strstr(capab, "[LDPC]")) conf->ht_capab |= HT_CAP_INFO_LDPC_CODING_CAP; - if (os_strstr(capab, "[40HT]")) + if (os_strstr(capab, "[HT40]")) conf->ht_capab |= HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET; if (os_strstr(capab, "[SMPS-STATIC]")) { conf->ht_capab &= ~HT_CAP_INFO_SMPS_MASK; diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.conf index 2f8f056a3..c6ec70967 100644 --- a/hostapd/hostapd.conf +++ b/hostapd/hostapd.conf @@ -380,7 +380,7 @@ wme_ac_vo_acm=0 # ht_capab: HT capabilities (list of flags) # LDPC coding capability: [LDPC] = supported -# Supported channel width set: [40HT] = both 20 MHz and 40 MHz +# Supported channel width set: [HT40] = both 20 MHz and 40 MHz # (20 MHz only if not set) # Spatial Multiplexing (SM) Power Save: [SMPS-STATIC] or [SMPS-DYNAMIC] # (SMPS disabled if neither is set) @@ -397,7 +397,7 @@ wme_ac_vo_acm=0 # DSSS/CCK Mode in 40 MHz: [DSSS_CCK-40] = allowed (not allowed if not set) # PSMP support: [PSMP] (disabled if not set) # L-SIG TXOP protection support: [LSIG-TXOP-PROT] (disabled if not set) -#ht_capab=[40HT][SHORT-GI-20][SHORT-GI-40] +#ht_capab=[HT40][SHORT-GI-20][SHORT-GI-40] ##### IEEE 802.1X-2004 related configuration ##################################