From: Ilan Peer <ilan.peer@xxxxxxxxx> Signed-off-by: Ilan Peer <ilan.peer@xxxxxxxxx> --- src/ap/wpa_auth_glue.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ap/wpa_auth_glue.c b/src/ap/wpa_auth_glue.c index fbe82779a5..9ac8c21066 100644 --- a/src/ap/wpa_auth_glue.c +++ b/src/ap/wpa_auth_glue.c @@ -1538,7 +1538,8 @@ static int hostapd_wpa_auth_get_ml_rsn_info(void *ctx, if (!iface->bss[0]->conf->mld_ap || hapd->conf->mld_id != iface->bss[0]->conf->mld_id || - link_id != iface->bss[0]->mld_link_id) + link_id != iface->bss[0]->mld_link_id || + !iface->bss[0]->wpa_auth) continue; wpa_auth_ml_get_rsn_info(iface->bss[0]->wpa_auth, @@ -1580,7 +1581,8 @@ static int hostapd_wpa_auth_get_ml_key_info(void *ctx, if (!iface->bss[0]->conf->mld_ap || hapd->conf->mld_id != iface->bss[0]->conf->mld_id || - link_id != iface->bss[0]->mld_link_id) + link_id != iface->bss[0]->mld_link_id || + !iface->bss[0]->wpa_auth) continue; wpa_auth_ml_get_key_info(iface->bss[0]->wpa_auth, -- 2.38.1 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap