]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Fix p2p_stop_find() calls in discovery
authorJouni Malinen <jouni@codeaurora.org>
Wed, 18 Sep 2019 16:07:13 +0000 (19:07 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 18 Sep 2019 21:21:47 +0000 (00:21 +0300)
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
tests/hwsim/test_p2p_discovery.py

index 5ef4f8f3da0e2d3c6e251dfc2afe57883024e543..5f9f6c9404dc5ead9894d61a6d177360f00552c0 100644 (file)
@@ -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")