mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-18 19:04:02 -05:00
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 <jouni@codeaurora.org>
This commit is contained in:
parent
8ca6f924d6
commit
431e5d5819
@ -7326,6 +7326,11 @@ def test_ap_wpa3_eap_transition_disable(dev, apdev):
|
|||||||
eap="GPSK", identity="gpsk user",
|
eap="GPSK", identity="gpsk user",
|
||||||
password="abcdefghijklmnop0123456789abcdef",
|
password="abcdefghijklmnop0123456789abcdef",
|
||||||
scan_freq="2412")
|
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")
|
val = dev[0].get_network(id, "ieee80211w")
|
||||||
if val != "2":
|
if val != "2":
|
||||||
|
Loading…
Reference in New Issue
Block a user