aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2016-05-28 19:06:03 (GMT)
committerJouni Malinen <j@w1.fi>2016-05-28 19:47:31 (GMT)
commitfccc4bd518a51b5112f71ad992eb21e9a359067d (patch)
treec7d79bf03e478e0f3d7b650b78c060b50fb4095b /tests
parent0b0e4792d3c60aab499c0ceff2f3ce5e3f2205ed (diff)
downloadhostap-fccc4bd518a51b5112f71ad992eb21e9a359067d.zip
hostap-fccc4bd518a51b5112f71ad992eb21e9a359067d.tar.gz
hostap-fccc4bd518a51b5112f71ad992eb21e9a359067d.tar.bz2
tests: Duplicate SSID removal with scan_id list
Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'tests')
-rw-r--r--tests/hwsim/test_scan.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/hwsim/test_scan.py b/tests/hwsim/test_scan.py
index 9a7e6b1..00064c8 100644
--- a/tests/hwsim/test_scan.py
+++ b/tests/hwsim/test_scan.py
@@ -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)