From: Ilan Peer Date: Sun, 18 Jun 2023 14:55:40 +0000 (+0300) Subject: AP: Fix ieee802_1x_ml_set_sta_authorized() X-Git-Tag: hostap_2_11~1056 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7db495ad9c9effbcc6dd10453854922828e94f6;p=thirdparty%2Fhostap.git AP: Fix ieee802_1x_ml_set_sta_authorized() One of the conditions in the function should be inverted. Fix it. Signed-off-by: Ilan Peer --- diff --git a/src/ap/ieee802_1x.c b/src/ap/ieee802_1x.c index 5688f1a9e..052231e34 100644 --- a/src/ap/ieee802_1x.c +++ b/src/ap/ieee802_1x.c @@ -169,7 +169,7 @@ static void ieee802_1x_ml_set_sta_authorized(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;