]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Add forgotten step to ap_wpa3_eap_transition_disable
authorJouni Malinen <jouni@codeaurora.org>
Wed, 25 Mar 2020 22:57:40 +0000 (00:57 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 25 Mar 2020 22:57:40 +0000 (00:57 +0200)
This was supposed to be included, but was forgotten in an editor window
with pending changes..

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
tests/hwsim/test_ap_eap.py

index 14bc27024251e94b9b442d740fe98d26b1b0355f..026b995cfc1b9776a95b17c869011a325aadc2c0 100644 (file)
@@ -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":