From 406739c4993dec2cd58760bc4cb5a8c28e1aa770 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 25 Mar 2014 13:43:56 +0200 Subject: [PATCH] tests: P2P persistent group re-invocation with empty BSS table This verifies P2P Client scanning behavior during group re-invocation in a case where old scan results are not available to allow the scan to be skipped completely. Signed-off-by: Jouni Malinen --- tests/hwsim/test_p2p_persistent.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/hwsim/test_p2p_persistent.py b/tests/hwsim/test_p2p_persistent.py index f92f2d72f..6f6eff70f 100644 --- a/tests/hwsim/test_p2p_persistent.py +++ b/tests/hwsim/test_p2p_persistent.py @@ -111,6 +111,14 @@ def test_persistent_group2(dev): invite_from_cli(dev[0], dev[1]) invite_from_go(dev[0], dev[1]) +def test_persistent_group3(dev): + """P2P persistent group formation and re-invocation with empty BSS table""" + form(dev[0], dev[1]) + dev[1].request("BSS_FLUSH 0") + invite_from_cli(dev[0], dev[1]) + dev[1].request("BSS_FLUSH 0") + invite_from_go(dev[0], dev[1]) + def test_persistent_group_per_sta_psk(dev): """P2P persistent group formation and re-invocation using per-client PSK""" addr0 = dev[0].p2p_dev_addr()