tests: Use a single channel scan to avoid unnecessary wait
Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
a6cf5cd655
commit
7daa9b9ad4
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ def check_cipher(dev, ap, cipher):
|
||||||
"rsn_pairwise": cipher }
|
"rsn_pairwise": cipher }
|
||||||
hostapd.add_ap(ap['ifname'], params)
|
hostapd.add_ap(ap['ifname'], params)
|
||||||
dev.connect("test-wpa2-psk", psk="12345678",
|
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'])
|
hwsim_utils.test_connectivity(dev.ifname, ap['ifname'])
|
||||||
|
|
||||||
def test_ap_cipher_tkip(dev, apdev):
|
def test_ap_cipher_tkip(dev, apdev):
|
||||||
|
|
Loading…
Reference in a new issue