Otherwise it fails, as RSNE would be missing. Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@xxxxxxxxx> --- wpa_supplicant/events.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c index 5cad35514b..6f49c2ed6d 100644 --- a/wpa_supplicant/events.c +++ b/wpa_supplicant/events.c @@ -3425,6 +3425,9 @@ static int wpa_sm_set_ml_info(struct wpa_supplicant *wpa_s) const u8 *bss_rsn = NULL, *bss_rsnx = NULL; int i; + if (wpa_s->key_mgmt == WPA_KEY_MGMT_NONE) + return 0; + os_memset(&drv_mlo, 0, sizeof(drv_mlo)); if (wpas_drv_get_sta_mlo_info(wpa_s, &drv_mlo)) { wpa_dbg(wpa_s, MSG_INFO, "Failed to get MLO link info"); -- 2.25.1 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap