From: Ilan Peer Date: Fri, 6 Feb 2015 01:30:57 +0000 (-0500) Subject: tests: Use group control interface in autogo X-Git-Tag: hostap_2_4~177 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4f2ba749e964b943bb32eda0e861b1f908a8c48;p=thirdparty%2Fhostap.git tests: Use group control interface in autogo P2P-PRESENCE-RESPONSE is a group event, and thus need to use the group control interface. Signed-off-by: Ilan Peer --- diff --git a/tests/hwsim/test_p2p_autogo.py b/tests/hwsim/test_p2p_autogo.py index 033ff5b65..a3daa7851 100644 --- a/tests/hwsim/test_p2p_autogo.py +++ b/tests/hwsim/test_p2p_autogo.py @@ -63,7 +63,7 @@ def test_autogo(dev): raise Exception("Invald P2P_PRESENCE_REQ accepted") if "FAIL" in dev[1].group_request("P2P_PRESENCE_REQ 30000 102400"): raise Exception("Could not send presence request") - ev = dev[1].wait_event(["P2P-PRESENCE-RESPONSE"]) + ev = dev[1].wait_group_event(["P2P-PRESENCE-RESPONSE"], 10) if ev is None: raise Exception("Timeout while waiting for Presence Response") if "FAIL" in dev[1].group_request("P2P_PRESENCE_REQ 30000 102400 20000 102400"):