[PATCH] AP: Fix ieee802_1x_ml_set_sta_authorized()
Andrei Otcheretianski
andrei.otcheretianski at intel.com
Sun Jun 18 07:55:40 PDT 2023
From: Ilan Peer <ilan.peer at intel.com>
One of the conditions in the function should be inverted. Fix it.
Signed-off-by: Ilan Peer <ilan.peer at intel.com>
---
src/ap/ieee802_1x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ap/ieee802_1x.c b/src/ap/ieee802_1x.c
index 5688f1a9e0..052231e34f 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;
--
2.38.1
More information about the Hostap
mailing list