]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Make nfc_wps more robust by avoiding race conditions
authorJouni Malinen <j@w1.fi>
Sat, 24 Aug 2019 19:52:52 +0000 (22:52 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 24 Aug 2019 19:52:52 +0000 (22:52 +0300)
commit65e2eb6e742b8186cd0e595de3c422841b878515
tree8797ba120b301298d18620b6ccf197ea653a7be0
parent12de14907133a9cc710a8bfd9329a6aa321a604c
tests: Make nfc_wps more robust by avoiding race conditions

The hostapd side operations and data connectivity test were executed
without explicitly waiting for hostapd to report connection as having
been completed. This could result in trying to transmit data before
EAPOL-Key msg 4/4 was processed especially when using UML time-travel.
Make this more robust by waiting for hostapd to be ready before the data
test.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_nfc_wps.py