@ -326,6 +326,7 @@ void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta)
os_free ( sta - > vht_capabilities ) ;
os_free ( sta - > vht_operation ) ;
os_free ( sta - > he_capab ) ;
os_free ( sta - > he_6ghz_capab ) ;
hostapd_free_psk_list ( sta - > psk ) ;
os_free ( sta - > identity ) ;
os_free ( sta - > radius_cui ) ;
@ -1424,7 +1425,8 @@ 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%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%s%s " ,
( flags & WLAN_STA_AUTH ? " [AUTH] " : " " ) ,
( flags & WLAN_STA_ASSOC ? " [ASSOC] " : " " ) ,
( flags & WLAN_STA_AUTHORIZED ? " [AUTHORIZED] " : " " ) ,
@ -1444,6 +1446,7 @@ int ap_sta_flags_txt(u32 flags, char *buf, size_t buflen)
( flags & WLAN_STA_HT ? " [HT] " : " " ) ,
( flags & WLAN_STA_VHT ? " [VHT] " : " " ) ,
( flags & WLAN_STA_HE ? " [HE] " : " " ) ,
( flags & WLAN_STA_6GHZ ? " [6GHZ] " : " " ) ,
( flags & WLAN_STA_VENDOR_VHT ? " [VENDOR_VHT] " : " " ) ,
( flags & WLAN_STA_WNM_SLEEP_MODE ?
" [WNM_SLEEP_MODE] " : " " ) ) ;
@ -1515,7 +1518,7 @@ int ap_sta_re_add(struct hostapd_data *hapd, struct sta_info *sta)
if ( hostapd_sta_add ( hapd , sta - > addr , 0 , 0 ,
sta - > supported_rates ,
sta - > supported_rates_len ,
0 , NULL , NULL , NULL , 0 ,
0 , NULL , NULL , NULL , 0 , NULL ,
sta - > flags , 0 , 0 , 0 , 0 ) ) {
hostapd_logger ( hapd , sta - > addr ,
HOSTAPD_MODULE_IEEE80211 ,