From: Jouni Malinen Date: Sat, 13 Jan 2024 10:16:51 +0000 (+0200) Subject: AP MLD: Fix Association Response frame ACK handling X-Git-Tag: hostap_2_11~542 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=febb51bf879129d9a86d2ddde8322fca0923911b;p=thirdparty%2Fhostap.git AP MLD: Fix Association Response frame ACK handling Invert the check on hapd->conf->mld_ap on the affiliated links to actually call the link specific callback handler. This is needed to set the STA associated. Fixes: 55038680a606 ("AP: MLO: Handle association callback") Signed-off-by: Jouni Malinen --- diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c index 50190a280..9aba561b2 100644 --- a/src/ap/ieee802_11.c +++ b/src/ap/ieee802_11.c @@ -6440,7 +6440,7 @@ static void hostapd_ml_handle_assoc_cb(struct hostapd_data *hapd, struct hostapd_data *tmp_hapd = hapd->iface->interfaces->iface[i]->bss[0]; - if (tmp_hapd->conf->mld_ap || + if (!tmp_hapd->conf->mld_ap || hapd->conf->mld_id != tmp_hapd->conf->mld_id) continue;