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 <ilan.peer@intel.com>
This commit is contained in:
Ilan Peer 2023-06-18 17:55:40 +03:00 committed by Jouni Malinen
parent 8f148d5132
commit b7db495ad9

View file

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