It is possible for the sigma_dut process to be scheduled in a manner
that ends up combining the status,RUNNING and status,COMPLETE lines into
a single TCP message. This was supposed to be handled in the
sigma_dut_cmd() implementations, but that design had been broken by code
refactoring that changed the indentation level incorrectly.
Fixes: d68946d510e5 ("tests: sigma_dut and DPP push button first on Enrollee")
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
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