Rename [40HT] to [HT40] in ht_capab
authorJouni Malinen <jouni.malinen@atheros.com>
Mon, 24 Nov 2008 14:11:19 +0000 (16:11 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 24 Nov 2008 14:11:19 +0000 (16:11 +0200)
hostapd/config.c
hostapd/hostapd.conf

index 86507f4..b4ac830 100644 (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;
index 2f8f056..c6ec709 100644 (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 ##################################