]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
MLD: Add a TEST_FAIL to fail one link in an MLD association.
authorBenjamin Berg <benjamin.berg@intel.com>
Mon, 20 Nov 2023 23:51:26 +0000 (01:51 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 25 Nov 2023 14:49:43 +0000 (16:49 +0200)
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
src/ap/ieee802_11.c

index 675ca48a19e8f075d0f080df8f138ef3a1030c62..e38956fe96f864ceacfb132fe41589c33282f2d2 100644 (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);