mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-29 02:38:22 -05:00
tests: Fix grpform_wait_peer group removal in P2P Device case
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@intel.com>
This commit is contained in:
parent
c340e0e8f4
commit
99b83d0abd
@ -877,6 +877,8 @@ def test_grpform_wait_peer(dev):
|
|||||||
ev = dev[0].wait_global_event(["P2P-GROUP-STARTED"], timeout=15)
|
ev = dev[0].wait_global_event(["P2P-GROUP-STARTED"], timeout=15)
|
||||||
if ev is None:
|
if ev is None:
|
||||||
raise Exception("Group formation timed out")
|
raise Exception("Group formation timed out")
|
||||||
|
dev[0].group_form_result(ev)
|
||||||
|
|
||||||
dev[0].request("SET extra_roc_dur 0")
|
dev[0].request("SET extra_roc_dur 0")
|
||||||
ev = dev[1].wait_global_event(["P2P-GROUP-STARTED"], timeout=15)
|
ev = dev[1].wait_global_event(["P2P-GROUP-STARTED"], timeout=15)
|
||||||
if ev is None:
|
if ev is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user