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 <ilan.peer@intel.com>
This commit is contained in:
Ilan Peer 2015-02-04 04:30:21 -05:00 committed by Jouni Malinen
parent 098a687ffb
commit cef63d6b2f

View file

@ -94,6 +94,7 @@ def test_p2p_go_invite_auth(dev):
raise Exception("Timeout on invitation on peer") raise Exception("Timeout on invitation on peer")
if "P2P-INVITATION-RECEIVED" in ev: if "P2P-INVITATION-RECEIVED" in ev:
raise Exception("Unexpected request to accept pre-authorized invitaton") raise Exception("Unexpected request to accept pre-authorized invitaton")
dev[1].group_form_result(ev)
dev[0].dump_monitor() dev[0].dump_monitor()
logger.info("Client connected") logger.info("Client connected")