[PATCH 12/15] tests: fix persistent_group_peer_dropped tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Andrei Otcheretianski <andrei.otcheretianski@xxxxxxxxx>

Use global control interface to remove P2P network blocks, in order
to support cases when a dedicated P2P Device interface is used.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@xxxxxxxxx>
---
 tests/hwsim/test_p2p_persistent.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/hwsim/test_p2p_persistent.py b/tests/hwsim/test_p2p_persistent.py
index 6451540..c2597aa 100644
--- a/tests/hwsim/test_p2p_persistent.py
+++ b/tests/hwsim/test_p2p_persistent.py
@@ -603,7 +603,7 @@ def test_persistent_group_peer_dropped(dev):
     invite_from_cli(dev[0], dev[1])
 
     logger.info("Remove group on the GO and try to invite from the client")
-    dev[0].request("REMOVE_NETWORK all")
+    dev[0].global_request("REMOVE_NETWORK all")
     invite(dev[1], dev[0])
     ev = dev[1].wait_global_event(["P2P-INVITATION-RESULT"], timeout=10)
     if ev is None:
@@ -623,7 +623,7 @@ def test_persistent_group_peer_dropped2(dev):
     invite_from_go(dev[0], dev[1])
 
     logger.info("Remove group on the client and try to invite from the GO")
-    dev[1].request("REMOVE_NETWORK all")
+    dev[1].global_request("REMOVE_NETWORK all")
     invite(dev[0], dev[1])
     ev = dev[0].wait_global_event(["P2P-INVITATION-RESULT"], timeout=10)
     if ev is None:
-- 
1.9.1


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux