From 8344ba12298ed69133738e5a12553af3fd6908bf Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 13 Dec 2016 13:57:39 +0200 Subject: [PATCH] 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 --- tests/hwsim/test_ap_ft.py | 2 ++ 1 file changed, 2 insertions(+) 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)