From: Veerendranath Jakkam Date: Wed, 12 Apr 2023 22:52:51 +0000 (+0530) Subject: SAE: Fix expected AP MLD address info in a debug print X-Git-Tag: hostap_2_11~1201 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6002fe87d8371be23ef9472ae30f64b010896c0a;p=thirdparty%2Fhostap.git 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 --- 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; }