tests: WPS ER timing out STA entry after negotiation

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2015-09-01 12:18:00 +03:00
parent 4ae7120919
commit ea982de1ee

View file

@ -1093,6 +1093,10 @@ def _test_ap_wps_er_add_enrollee_uuid(dev, apdev):
if ev is None: if ev is None:
raise Exception("WPS ER did not report success") raise Exception("WPS ER did not report success")
ev = dev[0].wait_event(["WPS-ER-ENROLLEE-REMOVE"], timeout=15)
if ev is None:
raise Exception("No Enrollee STA entry timeout seen")
logger.info("Stop ER") logger.info("Stop ER")
dev[0].dump_monitor() dev[0].dump_monitor()
dev[0].request("WPS_ER_STOP") dev[0].request("WPS_ER_STOP")