diff --git a/tests/hwsim/test_sigma_dut.py b/tests/hwsim/test_sigma_dut.py index 100993cf6..c457f7309 100644 --- a/tests/hwsim/test_sigma_dut.py +++ b/tests/hwsim/test_sigma_dut.py @@ -96,9 +96,9 @@ def sigma_dut_cmd(cmd, port=9000, timeout=2, dump_dev=None): done = True res = line break - if running and not done: - # Read the actual response - res = sock.recv(1000).decode() + if running and not done: + # Read the actual response + res = sock.recv(1000).decode() except: res = '' pass