mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
tests: Fix exception generation in persistent_group_per_sta_psk
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
7e7e32f7e6
commit
91cce45226
@ -130,7 +130,7 @@ def test_persistent_group_per_sta_psk(dev):
|
|||||||
if ev is None:
|
if ev is None:
|
||||||
raise Exception("Group removal event timed out")
|
raise Exception("Group removal event timed out")
|
||||||
if not dev[2].discover_peer(addr0, social=True):
|
if not dev[2].discover_peer(addr0, social=True):
|
||||||
raise Exception("Peer " + peer + " not found")
|
raise Exception("Peer " + addr0 + " not found")
|
||||||
dev[2].dump_monitor()
|
dev[2].dump_monitor()
|
||||||
peer = dev[2].get_peer(addr0)
|
peer = dev[2].get_peer(addr0)
|
||||||
dev[2].global_request("P2P_GROUP_ADD persistent=" + peer['persistent'] + " freq=2412")
|
dev[2].global_request("P2P_GROUP_ADD persistent=" + peer['persistent'] + " freq=2412")
|
||||||
|
Loading…
Reference in New Issue
Block a user