From: Jouni Malinen Date: Tue, 25 Mar 2014 11:43:56 +0000 (+0200) Subject: tests: P2P persistent group re-invocation with empty BSS table X-Git-Tag: hostap_2_2~463 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=406739c4993dec2cd58760bc4cb5a8c28e1aa770;p=thirdparty%2Fhostap.git 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 --- 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()