@ -2622,7 +2622,7 @@ static u16 send_assoc_resp(struct hostapd_data *hapd, struct sta_info *sta,
# endif /* CONFIG_FILS */
# endif /* CONFIG_FILS */
# ifdef CONFIG_OWE
# ifdef CONFIG_OWE
if ( sta & & ( hapd - > conf - > wpa_key_mgmt & WPA_KEY_MGMT_OWE ) )
if ( sta & & ( hapd - > conf - > wpa_key_mgmt & WPA_KEY_MGMT_OWE ) )
buflen + = 50;
buflen + = 1 50;
# endif /* CONFIG_OWE */
# endif /* CONFIG_OWE */
buf = os_zalloc ( buflen ) ;
buf = os_zalloc ( buflen ) ;
if ( ! buf ) {
if ( ! buf ) {
@ -2661,6 +2661,13 @@ static u16 send_assoc_resp(struct hostapd_data *hapd, struct sta_info *sta,
}
}
# endif /* CONFIG_IEEE80211R_AP */
# endif /* CONFIG_IEEE80211R_AP */
# ifdef CONFIG_OWE
if ( sta & & ( hapd - > conf - > wpa_key_mgmt & WPA_KEY_MGMT_OWE ) )
p = wpa_auth_write_assoc_resp_owe ( sta - > wpa_sm , p ,
buf + buflen - p ,
ies , ies_len ) ;
# endif /* CONFIG_OWE */
# ifdef CONFIG_IEEE80211W
# ifdef CONFIG_IEEE80211W
if ( sta & & status_code = = WLAN_STATUS_ASSOC_REJECTED_TEMPORARILY )
if ( sta & & status_code = = WLAN_STATUS_ASSOC_REJECTED_TEMPORARILY )
p = hostapd_eid_assoc_comeback_time ( hapd , sta , p ) ;
p = hostapd_eid_assoc_comeback_time ( hapd , sta , p ) ;