FT: Fix architecture for RxKH loading from a file

src/ap/ap_config.c is not really supposed to call directly into a
function in hostapd/config_file.c. Furthermore, the wrapper through
ap_config.c did not really have any real value since it just called a
function that is within hostapd/*.c and that wrapper was called from
hostapd/*.c.

Instead of the wrapper, just call the function directly within the
hostapd directory.

Fixes: 392114a179 ("FT: Add dynamic reload of RxKH definitions from file")
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
Jouni Malinen 2024-01-22 21:30:10 +02:00 committed by Jouni Malinen
parent 0b95d1346f
commit a4d599a53d
4 changed files with 3 additions and 10 deletions

View file

@ -702,12 +702,6 @@ void hostapd_config_clear_wpa_psk(struct hostapd_wpa_psk **l)
#ifdef CONFIG_IEEE80211R_AP
int hostapd_config_setup_rxkhs(struct hostapd_bss_config *conf)
{
return hostapd_config_read_rxkh_file(conf, conf->rxkh_file);
}
void hostapd_config_clear_rxkhs(struct hostapd_bss_config *conf)
{
struct ft_remote_r0kh *r0kh, *r0kh_prev;