]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Use hostapd_logdir in sigma_dut_ap_psk_sha256
authorJouni Malinen <jouni@codeaurora.org>
Mon, 16 Mar 2020 13:38:27 +0000 (15:38 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 16 Mar 2020 13:38:27 +0000 (15:38 +0200)
logdir was prepared for this test case, but it was not actually used.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
tests/hwsim/test_sigma_dut.py

index 3edcf2159b0c6f2d5e347a47fdf733998f7c1d17..0fe8b4a48e2ef2a4c1e9c175ec3381100310be81 100644 (file)
@@ -644,7 +644,7 @@ def test_sigma_dut_ap_psk_sha256(dev, apdev, params):
     logdir = os.path.join(params['logdir'],
                           "sigma_dut_ap_psk_sha256.sigma-hostapd")
     with HWSimRadio() as (radio, iface):
-        sigma = start_sigma_dut(iface)
+        sigma = start_sigma_dut(iface, hostapd_logdir=logdir)
         try:
             sigma_dut_cmd_check("ap_reset_default")
             sigma_dut_cmd_check("ap_set_wireless,NAME,AP,CHANNEL,1,SSID,test-psk,MODE,11ng")