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")