]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Duplicate SSID removal with scan_id list
authorJouni Malinen <j@w1.fi>
Sat, 28 May 2016 19:06:03 +0000 (22:06 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 28 May 2016 19:47:31 +0000 (22:47 +0300)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_scan.py

index 9a7e6b135e750f3a2d6d606178bc2b7684b51bc1..00064c8d1dc6b649c7a56803ae26b6731f1cdee7 100644 (file)
@@ -481,6 +481,9 @@ def test_scan_hidden(dev, apdev):
     if "FAIL" not in dev[0].request("SCAN scan_id=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17"):
         raise Exception("Too many scan_id values accepted")
 
+    # Duplicate SSID removal
+    check_scan(dev[0], "scan_id=%d,%d,%d freq=2412 use_id=1" % (id1, id1, id2))
+
     dev[0].request("REMOVE_NETWORK all")
     hapd.disable()
     dev[0].flush_scan_cache(freq=2432)