From: Jouni Malinen Date: Wed, 25 Mar 2020 22:57:40 +0000 (+0200) Subject: tests: Add forgotten step to ap_wpa3_eap_transition_disable X-Git-Tag: hostap_2_10~1556 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=431e5d58194622d9774cd1a6e2a2a505b6ca4cf4;p=thirdparty%2Fhostap.git tests: Add forgotten step to ap_wpa3_eap_transition_disable This was supposed to be included, but was forgotten in an editor window with pending changes.. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_ap_eap.py b/tests/hwsim/test_ap_eap.py index 14bc27024..026b995cf 100644 --- a/tests/hwsim/test_ap_eap.py +++ b/tests/hwsim/test_ap_eap.py @@ -7326,6 +7326,11 @@ def test_ap_wpa3_eap_transition_disable(dev, apdev): eap="GPSK", identity="gpsk user", password="abcdefghijklmnop0123456789abcdef", scan_freq="2412") + ev = dev[0].wait_event(["TRANSITION-DISABLE"], timeout=1) + if ev is None: + raise Exception("Transition disable not indicated") + if ev.split(' ')[1] != "04": + raise Exception("Unexpected transition disable bitmap: " + ev) val = dev[0].get_network(id, "ieee80211w") if val != "2":