tests: Fix exception generation in persistent_group_per_sta_psk

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2020-02-15 17:42:14 +02:00
parent 7e7e32f7e6
commit 91cce45226

View file

@ -130,7 +130,7 @@ def test_persistent_group_per_sta_psk(dev):
if ev is None:
raise Exception("Group removal event timed out")
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()
peer = dev[2].get_peer(addr0)
dev[2].global_request("P2P_GROUP_ADD persistent=" + peer['persistent'] + " freq=2412")