]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Remove pmk_r1_push parameter from ap_ft_local_key_gen
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 13 Dec 2016 11:57:39 +0000 (13:57 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 13 Dec 2016 11:57:39 +0000 (13:57 +0200)
Local key generation for FT-PSK does not use the AP-to-AP protocol and
as such, setting pmk_r1_push=1 is a bit confusing here since it gets
ignored in practice. Remove it to keep the test case easier to
understand.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/test_ap_ft.py

index 7c2f5dca70bf9cbbe22b4e9c44778f8dbf2e4eeb..664d168187f0d9c0a6f857d543ec7648f54e7d9f 100644 (file)
@@ -177,9 +177,11 @@ def test_ap_ft_local_key_gen(dev, apdev):
 
     params = ft_params1a(ssid=ssid, passphrase=passphrase)
     params['ft_psk_generate_local'] = "1";
+    del params['pmk_r1_push']
     hapd0 = hostapd.add_ap(apdev[0]['ifname'], params)
     params = ft_params2a(ssid=ssid, passphrase=passphrase)
     params['ft_psk_generate_local'] = "1";
+    del params['pmk_r1_push']
     hapd1 = hostapd.add_ap(apdev[1]['ifname'], params)
 
     run_roams(dev[0], apdev, hapd0, hapd1, ssid, passphrase)