MLD: Add a TEST_FAIL to fail one link in an MLD association.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
This commit is contained in:
Benjamin Berg 2023-11-21 01:51:26 +02:00 committed by Jouni Malinen
parent 846e65c7ce
commit 92d8d1d760

View file

@ -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);