From f1f796a39f31c2190ad58f853365e03c7cbaab87 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Thu, 10 Nov 2022 13:22:39 +0200 Subject: [PATCH] tests: hostapd dump_msk_file Signed-off-by: Jouni Malinen --- tests/hwsim/test_erp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/hwsim/test_erp.py b/tests/hwsim/test_erp.py index 50cec8dc6..d083993e8 100644 --- a/tests/hwsim/test_erp.py +++ b/tests/hwsim/test_erp.py @@ -127,10 +127,10 @@ def start_erp_as(erp_domain="example.com", msk_dump=None, tls13=False, apdev = {'ifname': 'as-erp'} return hostapd.add_ap(apdev, params, driver="none") -def test_erp_radius(dev, apdev): +def test_erp_radius(dev, apdev, params): """ERP enabled on RADIUS server and peer""" check_erp_capa(dev[0]) - start_erp_as() + start_erp_as(msk_dump=params['prefix'] + ".msk") params = hostapd.wpa2_eap_params(ssid="test-wpa2-eap") params['auth_server_port'] = "18128" params['erp_send_reauth_start'] = '1'