tests: Update group ifname in p2p_go_invite_auth
authorIlan Peer <ilan.peer@intel.com>
Wed, 4 Feb 2015 09:30:21 +0000 (04:30 -0500)
committerJouni Malinen <j@w1.fi>
Thu, 5 Feb 2015 11:38:10 +0000 (13:38 +0200)
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>
tests/hwsim/test_p2p_invitation.py

index bc4fb1b..ffe8437 100644 (file)
@@ -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")