SAE: Fix expected AP MLD address info in a debug print

Print correct expected AP MLD address information when the AP MLD
address validation fails in Authentication frames during external
authentication.

Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
This commit is contained in:
Veerendranath Jakkam 2023-04-13 04:22:51 +05:30 committed by Jouni Malinen
parent c70405cef6
commit 6002fe87d8

View file

@ -1619,7 +1619,8 @@ static int sme_external_ml_auth(struct wpa_supplicant *wpa_s,
if (os_memcmp(wpa_s->sme.ext_auth_ap_mld_addr, mld_addr, ETH_ALEN) !=
0) {
wpa_printf(MSG_DEBUG, "MLD: Unexpected MLD address (expected "
MACSTR ")", MAC2STR(wpa_s->ap_mld_addr));
MACSTR ")",
MAC2STR(wpa_s->sme.ext_auth_ap_mld_addr));
return -1;
}