aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hwsim/test_ap_dynamic.py
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-11-02 09:22:16 (GMT)
committerJouni Malinen <j@w1.fi>2013-11-02 09:22:16 (GMT)
commitc65f23ab644c179da64ea4ae4079991f88e2d11f (patch)
tree3382f06ed1b8701748990f34c8bfbb848c6f48f5 /tests/hwsim/test_ap_dynamic.py
parentde684a2b83c731b28bb3e303ca0ed05f8cdaa708 (diff)
downloadhostap-c65f23ab644c179da64ea4ae4079991f88e2d11f.zip
hostap-c65f23ab644c179da64ea4ae4079991f88e2d11f.tar.gz
hostap-c65f23ab644c179da64ea4ae4079991f88e2d11f.tar.bz2
tests: Use single channel scans to speed up test cases
A full scan in these specific test cases does not add anything to the coverage, so use a single channel scan for the station connection to remove undesired extra time needed for a full scan. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'tests/hwsim/test_ap_dynamic.py')
-rw-r--r--tests/hwsim/test_ap_dynamic.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/hwsim/test_ap_dynamic.py b/tests/hwsim/test_ap_dynamic.py
index b1987df..7c31c97 100644
--- a/tests/hwsim/test_ap_dynamic.py
+++ b/tests/hwsim/test_ap_dynamic.py
@@ -19,7 +19,8 @@ def test_ap_change_ssid(dev, apdev):
params = hostapd.wpa2_params(ssid="test-wpa2-psk-start",
passphrase="12345678")
hostapd.add_ap(apdev[0]['ifname'], params)
- id = dev[0].connect("test-wpa2-psk-start", psk="12345678")
+ id = dev[0].connect("test-wpa2-psk-start", psk="12345678",
+ scan_freq="2412")
dev[0].request("DISCONNECT")
logger.info("Change SSID dynamically")