]> git.ipfire.org Git - thirdparty/hostap.git/blobdiff - wpa_supplicant/eapol_test.c
Added preliminary Wi-Fi Protected Setup (WPS) implementation
[thirdparty/hostap.git] / wpa_supplicant / eapol_test.c
index 4d96785698db5e73350a9c91f8255973bac6700c..f650c85ab1be5aba9add349ac9871ff429f450c9 100644 (file)
@@ -336,6 +336,7 @@ static int test_eapol(struct eapol_test_data *e, struct wpa_supplicant *wpa_s,
        ctx->pkcs11_engine_path = wpa_s->conf->pkcs11_engine_path;
        ctx->pkcs11_module_path = wpa_s->conf->pkcs11_module_path;
 #endif /* EAP_TLS_OPENSSL */
+       ctx->mac_addr = wpa_s->own_addr;
 
        wpa_s->eapol = eapol_sm_init(ctx);
        if (wpa_s->eapol == NULL) {