]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
SAE: Fix expected AP MLD address info in a debug print
authorVeerendranath Jakkam <quic_vjakkam@quicinc.com>
Wed, 12 Apr 2023 22:52:51 +0000 (04:22 +0530)
committerJouni Malinen <j@w1.fi>
Wed, 19 Apr 2023 08:51:43 +0000 (11:51 +0300)
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>
wpa_supplicant/sme.c

index f963016445708423f86d900d3025fd957bb7b33b..29e0b3b4dce9bf5aca3b9dd1dbdaf25d197a16d6 100644 (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;
        }