[PATCH] tests: Flush correct iface in P2PS stale group removal tests

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

 



FLUSH should be done on P2P device interface, otherwise the networks are
not removed. Fix that.

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

diff --git a/tests/hwsim/test_p2ps.py b/tests/hwsim/test_p2ps.py
index 1430db1b04..b85fcd766a 100644
--- a/tests/hwsim/test_p2ps.py
+++ b/tests/hwsim/test_p2ps.py
@@ -870,7 +870,7 @@ def test_p2ps_stale_group_removal(dev):
 
     # Drop the first persistent group on dev[1] and form new persistent groups
     # on both devices.
-    dev[1].request("FLUSH")
+    dev[1].p2pdev_request("FLUSH")
     go_neg_pin_authorized_persistent(i_dev=dev[0], i_intent=15,
                                      r_dev=dev[1], r_intent=0)
     dev[0].remove_group()
@@ -909,7 +909,7 @@ def test_p2ps_stale_group_removal2(dev):
 
     # Drop the first persistent group on dev[1] and form new persistent groups
     # on both devices.
-    dev[1].request("FLUSH")
+    dev[1].p2pdev_request("FLUSH")
     go_neg_pin_authorized_persistent(i_dev=dev[0], i_intent=0,
                                      r_dev=dev[1], r_intent=15)
     dev[1].remove_group()
-- 
2.19.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