Browse Source

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>
Ilan Peer 10 years ago
parent
commit
cef63d6b2f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tests/hwsim/test_p2p_invitation.py

+ 1 - 0
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")