Rename [40HT] to [HT40] in ht_capab

This commit is contained in:
Jouni Malinen 2008-11-24 16:11:19 +02:00 committed by Jouni Malinen
parent 8725598c46
commit a86f6ccad7
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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 ##################################