From 92d8d1d76027e1513a07f6e84f449c52aac5ada8 Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Tue, 21 Nov 2023 01:51:26 +0200 Subject: [PATCH] MLD: Add a TEST_FAIL to fail one link in an MLD association. Signed-off-by: Benjamin Berg Signed-off-by: Andrei Otcheretianski --- src/ap/ieee802_11.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c index 675ca48a1..e38956fe9 100644 --- a/src/ap/ieee802_11.c +++ b/src/ap/ieee802_11.c @@ -4536,7 +4536,8 @@ static void hostapd_process_assoc_ml_info(struct hostapd_data *hapd, break; } - if (!iface || j == hapd->iface->interfaces->count) { + if (!iface || j == hapd->iface->interfaces->count || + TEST_FAIL()) { wpa_printf(MSG_DEBUG, "MLD: No link match for link_id=%u", i);