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 <jouni@qca.qualcomm.com>
This commit is contained in:
parent
3615bde6fe
commit
8344ba1229
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue