From: Ilan Peer Date: Wed, 4 Feb 2015 09:30:21 +0000 (-0500) Subject: tests: Update group ifname in p2p_go_invite_auth X-Git-Tag: hostap_2_4~202 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cef63d6b2f514f72e844350e50adad120ae66252;p=thirdparty%2Fhostap.git 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 --- 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")