summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVeerendranath Jakkam <quic_vjakkam@quicinc.com>2023-04-13 04:22:51 +0530
committerJouni Malinen <j@w1.fi>2023-04-19 11:51:43 +0300
commit6002fe87d8371be23ef9472ae30f64b010896c0a (patch)
tree81a102eb4429831e2fe83a11fe7dfe5bb8de2bb8
parentc70405cef69a4ee427b2e69dedaad7b7db64e5f7 (diff)
downloadhostap-6002fe87d8371be23ef9472ae30f64b010896c0a.tar.gz
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>
-rw-r--r--wpa_supplicant/sme.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wpa_supplicant/sme.c b/wpa_supplicant/sme.c
index f96301644..29e0b3b4d 100644
--- a/wpa_supplicant/sme.c
+++ b/wpa_supplicant/sme.c
@@ -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;
}