]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Use a single channel scan to avoid unnecessary wait
authorJouni Malinen <j@w1.fi>
Sun, 29 Dec 2013 10:36:01 +0000 (12:36 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 29 Dec 2013 15:18:17 +0000 (17:18 +0200)
Signed-hostap: Jouni Malinen <j@w1.fi>

tests/hwsim/test_ap_ciphers.py

index 989fe1ff4f8ab693cdeab4d3171eb137d91c6039..c6c42dd5728cb3588843ebd7953d5d9c58648933 100644 (file)
@@ -24,7 +24,7 @@ def check_cipher(dev, ap, cipher):
                "rsn_pairwise": cipher }
     hostapd.add_ap(ap['ifname'], params)
     dev.connect("test-wpa2-psk", psk="12345678",
-                pairwise=cipher, group=cipher)
+                pairwise=cipher, group=cipher, scan_freq="2412")
     hwsim_utils.test_connectivity(dev.ifname, ap['ifname'])
 
 def test_ap_cipher_tkip(dev, apdev):