From 1f8fc6bebb68647a294e199058981e31260f4e1e Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Wed, 18 Sep 2019 19:07:13 +0300 Subject: [PATCH] tests: Fix p2p_stop_find() calls in discovery Signed-off-by: Jouni Malinen --- tests/hwsim/test_p2p_discovery.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/hwsim/test_p2p_discovery.py b/tests/hwsim/test_p2p_discovery.py index 5ef4f8f3d..5f9f6c940 100644 --- a/tests/hwsim/test_p2p_discovery.py +++ b/tests/hwsim/test_p2p_discovery.py @@ -81,8 +81,8 @@ def test_discovery(dev): if addr1 not in ev0: raise Exception("Dev1 not in provision discovery event") - dev[0].p2p_stop_find - dev[1].p2p_stop_find + dev[0].p2p_stop_find() + dev[1].p2p_stop_find() if "FAIL" not in dev[0].p2p_find(dev_id="foo"): raise Exception("P2P_FIND with invalid dev_id accepted")