From: Jouni Malinen Date: Tue, 13 Dec 2016 11:57:39 +0000 (+0200) Subject: tests: Remove pmk_r1_push parameter from ap_ft_local_key_gen X-Git-Tag: hostap_2_7~2023 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8344ba12298ed69133738e5a12553af3fd6908bf;p=thirdparty%2Fhostap.git tests: Remove pmk_r1_push parameter from ap_ft_local_key_gen 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 --- diff --git a/tests/hwsim/test_ap_ft.py b/tests/hwsim/test_ap_ft.py index 7c2f5dca7..664d16818 100644 --- a/tests/hwsim/test_ap_ft.py +++ b/tests/hwsim/test_ap_ft.py @@ -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)