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>
This commit is contained in:
parent
af93c61450
commit
463b7f3511
1 changed files with 2 additions and 0 deletions
|
@ -1120,6 +1120,7 @@ def test_p2p_channel_vht80p80_autogo(dev):
|
||||||
if ev is None:
|
if ev is None:
|
||||||
raise Exception("Peer did not get connected")
|
raise Exception("Peer did not get connected")
|
||||||
|
|
||||||
|
dev[1].group_form_result(ev)
|
||||||
sig = dev[1].group_request("SIGNAL_POLL").splitlines()
|
sig = dev[1].group_request("SIGNAL_POLL").splitlines()
|
||||||
if "FREQUENCY=5180" not in sig:
|
if "FREQUENCY=5180" not in sig:
|
||||||
raise Exception("Unexpected SIGNAL_POLL value(1): " + str(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:
|
if ev is None:
|
||||||
raise Exception("Peer did not get connected")
|
raise Exception("Peer did not get connected")
|
||||||
|
|
||||||
|
dev[1].group_form_result(ev)
|
||||||
sig = dev[1].group_request("SIGNAL_POLL").splitlines()
|
sig = dev[1].group_request("SIGNAL_POLL").splitlines()
|
||||||
if "FREQUENCY=5180" not in sig:
|
if "FREQUENCY=5180" not in sig:
|
||||||
raise Exception("Unexpected SIGNAL_POLL value(1): " + str(sig))
|
raise Exception("Unexpected SIGNAL_POLL value(1): " + str(sig))
|
||||||
|
|
Loading…
Reference in a new issue