]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Add wlantest description for ap_ft_pmf_*_over_ds
authorJouni Malinen <j@w1.fi>
Sat, 9 Mar 2019 09:37:02 +0000 (11:37 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 9 Mar 2019 09:37:02 +0000 (11:37 +0200)
This is convenient to allow easier examination of the FT Action frames.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_ap_ft.py

index f77c407ab3126b8c86040f4b30ccc67d3f761e7a..71ef74f5c4f9f78ba89426f566d3cb3fc23bfb76 100644 (file)
@@ -816,6 +816,11 @@ def run_ap_ft_pmf_bip_over_ds(dev, apdev, cipher):
         params["group_mgmt_cipher"] = cipher
     hapd1 = hostapd.add_ap(apdev[1], params)
 
+    Wlantest.setup(hapd0)
+    wt = Wlantest()
+    wt.flush()
+    wt.add_passphrase(passphrase)
+
     run_roams(dev[0], apdev, hapd0, hapd1, ssid, passphrase, over_ds=True,
               group_mgmt=cipher)