tests: Use hostapd_logdir in sigma_dut_ap_psk_sha256

logdir was prepared for this test case, but it was not actually used.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
Jouni Malinen 2020-03-16 15:38:27 +02:00 committed by Jouni Malinen
parent 6ea7a152c6
commit 5732e57423

View File

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