tests: Make ap_wps_er_add_enrollee less likely to fail
authorJouni Malinen <j@w1.fi>
Tue, 7 Jan 2014 13:20:30 +0000 (15:20 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 7 Jan 2014 13:20:30 +0000 (15:20 +0200)
commit8697cbc0f84782a83ad65a2bc92aa71a1ece67ce
treee0376cdd1028cae1f2925724e7f3a06577ea52e1
parenta06b1070d8902460a9c61a3e13af577327fce6b3
tests: Make ap_wps_er_add_enrollee less likely to fail

WPS-ER-AP-REMOVE event from the ER is sent before HTTP UNSUBSCRIBE has
been completed. As such, it was possible for the following scan
validation step to be started before the AP has had a chance to react to
the ER status change. Makes this less likely to fail by waiting 200 ms
before starting the last scan.

Signed-hostap: Jouni Malinen <j@w1.fi>
tests/hwsim/test_ap_wps.py