From 91cce452260f6fc20c9ef9e6b50f8588c9c17b4e Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 15 Feb 2020 17:42:14 +0200 Subject: [PATCH] tests: Fix exception generation in persistent_group_per_sta_psk Signed-off-by: Jouni Malinen --- tests/hwsim/test_p2p_persistent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/test_p2p_persistent.py b/tests/hwsim/test_p2p_persistent.py index fa3648ab3..93a0c6826 100644 --- a/tests/hwsim/test_p2p_persistent.py +++ b/tests/hwsim/test_p2p_persistent.py @@ -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")