diff options
author | Andrei Otcheretianski <andrei.otcheretianski@intel.com> | 2016-04-07 10:32:06 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2016-04-24 21:06:20 (GMT) |
commit | 597cbc0075c26ac3016c11bc84b07c8a0f3e4364 (patch) | |
tree | b3dd2deb69d8eb897d309024352ab001a7072c9f /tests | |
parent | aa713e71e9bc6f6951391680eabfc2da9b72a32e (diff) | |
download | hostap-597cbc0075c26ac3016c11bc84b07c8a0f3e4364.zip hostap-597cbc0075c26ac3016c11bc84b07c8a0f3e4364.tar.gz hostap-597cbc0075c26ac3016c11bc84b07c8a0f3e4364.tar.bz2 |
tests: Fix persistent_group_peer_dropped tests
Use the global control interface to remove P2P network blocks, to
support cases when a dedicated P2P Device interface is used.
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/hwsim/test_p2p_persistent.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/hwsim/test_p2p_persistent.py b/tests/hwsim/test_p2p_persistent.py index 48c2c06..7688c21 100644 --- a/tests/hwsim/test_p2p_persistent.py +++ b/tests/hwsim/test_p2p_persistent.py @@ -601,7 +601,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: @@ -621,7 +621,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: |