From: Jouni Malinen Date: Tue, 1 Sep 2015 09:18:00 +0000 (+0300) Subject: tests: WPS ER timing out STA entry after negotiation X-Git-Tag: hostap_2_5~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea982de1eec41ba1faa441e8f9394751fc24f9fd;p=thirdparty%2Fhostap.git tests: WPS ER timing out STA entry after negotiation Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_ap_wps.py b/tests/hwsim/test_ap_wps.py index 717da90d0..466ba3952 100644 --- a/tests/hwsim/test_ap_wps.py +++ b/tests/hwsim/test_ap_wps.py @@ -1093,6 +1093,10 @@ def _test_ap_wps_er_add_enrollee_uuid(dev, apdev): if ev is None: 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") dev[0].dump_monitor() dev[0].request("WPS_ER_STOP")