From fccc4bd518a51b5112f71ad992eb21e9a359067d Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 28 May 2016 22:06:03 +0300 Subject: [PATCH] tests: Duplicate SSID removal with scan_id list Signed-off-by: Jouni Malinen --- tests/hwsim/test_scan.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/hwsim/test_scan.py b/tests/hwsim/test_scan.py index 9a7e6b135..00064c8d1 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)