]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
hostapd: Add [HT] flag into STA command
authorbhagavathi perumal s <bperumal@qti.qualcomm.com>
Fri, 6 Oct 2017 15:03:25 +0000 (20:33 +0530)
committerJouni Malinen <j@w1.fi>
Mon, 30 Oct 2017 22:28:46 +0000 (00:28 +0200)
Signed-off-by: bhagavathi perumal s <bperumal@qti.qualcomm.com>
src/ap/sta_info.c

index 78108cfdcd188deed77b981f43f1e54a4e4de741..c2f7040daac7d27d5fcfe01ae85de39cca02006e 100644 (file)
@@ -1344,7 +1344,7 @@ int ap_sta_flags_txt(u32 flags, char *buf, size_t buflen)
        int res;
 
        buf[0] = '\0';
-       res = os_snprintf(buf, buflen, "%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s",
+       res = os_snprintf(buf, buflen, "%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s",
                          (flags & WLAN_STA_AUTH ? "[AUTH]" : ""),
                          (flags & WLAN_STA_ASSOC ? "[ASSOC]" : ""),
                          (flags & WLAN_STA_AUTHORIZED ? "[AUTHORIZED]" : ""),
@@ -1361,6 +1361,7 @@ int ap_sta_flags_txt(u32 flags, char *buf, size_t buflen)
                          (flags & WLAN_STA_NONERP ? "[NonERP]" : ""),
                          (flags & WLAN_STA_WPS2 ? "[WPS2]" : ""),
                          (flags & WLAN_STA_GAS ? "[GAS]" : ""),
+                         (flags & WLAN_STA_HT ? "[HT]" : ""),
                          (flags & WLAN_STA_VHT ? "[VHT]" : ""),
                          (flags & WLAN_STA_VENDOR_VHT ? "[VENDOR_VHT]" : ""),
                          (flags & WLAN_STA_WNM_SLEEP_MODE ?