diff options
author | Ilan Peer <ilan.peer@intel.com> | 2016-04-07 10:32:02 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2016-04-24 20:45:57 (GMT) |
commit | 463b7f35112a45e0092a7998aa90e82ff73ca12e (patch) | |
tree | 31732e7c964c35268a995f425db4c1582a19aa7f /tests | |
parent | af93c6145043e2afa302bb32bc168cc15535c40b (diff) | |
download | hostap-463b7f35112a45e0092a7998aa90e82ff73ca12e.zip hostap-463b7f35112a45e0092a7998aa90e82ff73ca12e.tar.gz hostap-463b7f35112a45e0092a7998aa90e82ff73ca12e.tar.bz2 |
tests: Parse group results in a couple of p2p_channel tests
In p2p_channel_vht80_autogo and p2p_channel_vht80p80_autogo, parse the
P2P-GROUP-STARTED event prior to calling the group_request() method, as
otherwise the group ifname is not set.
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/hwsim/test_p2p_channel.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/hwsim/test_p2p_channel.py b/tests/hwsim/test_p2p_channel.py index 5b41c14..1e36a39 100644 --- a/tests/hwsim/test_p2p_channel.py +++ b/tests/hwsim/test_p2p_channel.py @@ -1120,6 +1120,7 @@ def test_p2p_channel_vht80p80_autogo(dev): if ev is None: raise Exception("Peer did not get connected") + dev[1].group_form_result(ev) sig = dev[1].group_request("SIGNAL_POLL").splitlines() if "FREQUENCY=5180" not in sig: raise Exception("Unexpected SIGNAL_POLL value(1): " + str(sig)) @@ -1155,6 +1156,7 @@ def test_p2p_channel_vht80_autogo(dev): if ev is None: raise Exception("Peer did not get connected") + dev[1].group_form_result(ev) sig = dev[1].group_request("SIGNAL_POLL").splitlines() if "FREQUENCY=5180" not in sig: raise Exception("Unexpected SIGNAL_POLL value(1): " + str(sig)) |