[PATCH 13/16] tests: Fix grpform_wait_peer group removal

Ilan Peer ilan.peer
Wed Jun 17 06:24:59 PDT 2015


From: Avraham Stern <avraham.stern at intel.com>

Get the P2P group interface name so it will be used for group removal
to support configurations that use a dedicated P2P device interface.

Signed-off-by: Avraham Stern <avraham.stern at intel.com>
---
 tests/hwsim/test_p2p_grpform.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/hwsim/test_p2p_grpform.py b/tests/hwsim/test_p2p_grpform.py
index 513d438..93e499a 100644
--- a/tests/hwsim/test_p2p_grpform.py
+++ b/tests/hwsim/test_p2p_grpform.py
@@ -877,6 +877,8 @@ def test_grpform_wait_peer(dev):
     ev = dev[0].wait_global_event(["P2P-GROUP-STARTED"], timeout=15)
     if ev is None:
         raise Exception("Group formation timed out")
+    dev[0].group_form_result(ev)
+
     dev[0].request("SET extra_roc_dur 0")
     ev = dev[1].wait_global_event(["P2P-GROUP-STARTED"], timeout=15)
     if ev is None:
-- 
1.9.1




More information about the Hostap mailing list