From: Jouni Malinen Date: Sat, 2 Nov 2013 09:27:16 +0000 (+0200) Subject: tests: Ignore old scan results in test_grpform_pbc X-Git-Tag: hostap_2_1~678 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d956022c11a7704cf749f7ab01879aade656d574;p=thirdparty%2Fhostap.git 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 --- 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':