From: Benjamin Berg Date: Mon, 20 Nov 2023 23:51:26 +0000 (+0200) Subject: MLD: Add a TEST_FAIL to fail one link in an MLD association. X-Git-Tag: hostap_2_11~768 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92d8d1d76027e1513a07f6e84f449c52aac5ada8;p=thirdparty%2Fhostap.git MLD: Add a TEST_FAIL to fail one link in an MLD association. Signed-off-by: Benjamin Berg Signed-off-by: Andrei Otcheretianski --- 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);