From cef63d6b2f514f72e844350e50adad120ae66252 Mon Sep 17 00:00:00 2001 From: Ilan Peer Date: Wed, 4 Feb 2015 04:30:21 -0500 Subject: [PATCH] tests: Update group ifname in p2p_go_invite_auth Once the connection is established need to call group_form_result() on the invited device, as otherwise the group interface name is not updated and the connectivity test is done with the main interface instead of the group interface. Signed-off-by: Ilan Peer --- tests/hwsim/test_p2p_invitation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/hwsim/test_p2p_invitation.py b/tests/hwsim/test_p2p_invitation.py index bc4fb1bb3..ffe843720 100644 --- a/tests/hwsim/test_p2p_invitation.py +++ b/tests/hwsim/test_p2p_invitation.py @@ -94,6 +94,7 @@ def test_p2p_go_invite_auth(dev): raise Exception("Timeout on invitation on peer") if "P2P-INVITATION-RECEIVED" in ev: raise Exception("Unexpected request to accept pre-authorized invitaton") + dev[1].group_form_result(ev) dev[0].dump_monitor() logger.info("Client connected")