]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: P2P persistent group re-invocation with empty BSS table
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 25 Mar 2014 11:43:56 +0000 (13:43 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 25 Mar 2014 13:09:34 +0000 (15:09 +0200)
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 <jouni@qca.qualcomm.com>
tests/hwsim/test_p2p_persistent.py

index f92f2d72ff76f87e67ef2b060e81b9fcc9ca38c2..6f6eff70fa545cee19e6e9a7d2d3a4b142c83021 100644 (file)
@@ -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()