From d956022c11a7704cf749f7ab01879aade656d574 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 2 Nov 2013 11:27:16 +0200 Subject: [PATCH] tests: Ignore old scan results in test_grpform_pbc This is needed to avoid invalid PBC session overlap detection when the previous test case used active PBC mode and the old BSS entry in cfg80211 may still be valid when starting the next test case. Signed-hostap: Jouni Malinen --- tests/hwsim/test_p2p_grpform.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/hwsim/test_p2p_grpform.py b/tests/hwsim/test_p2p_grpform.py index 8df6e33e1..a41b89150 100644 --- a/tests/hwsim/test_p2p_grpform.py +++ b/tests/hwsim/test_p2p_grpform.py @@ -144,6 +144,8 @@ def test_grpform3(dev): def test_grpform_pbc(dev): """P2P group formation using PBC and re-init GO Negotiation""" + dev[0].request("SET ignore_old_scan_res 1") + dev[1].request("SET ignore_old_scan_res 1") [i_res, r_res] = go_neg_pbc(i_dev=dev[0], i_intent=15, r_dev=dev[1], r_intent=0) check_grpform_results(i_res, r_res) if i_res['role'] != 'GO' or r_res['role'] != 'client':