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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue