From: Jouni Malinen Date: Thu, 22 Aug 2019 19:13:02 +0000 (+0300) Subject: tests: Configure wlantest for FT+PMF test cases X-Git-Tag: hostap_2_10~2416 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fhostap.git;a=commitdiff_plain;h=dbddbf1647e844f729a7705d458101e269e2c4a9 tests: Configure wlantest for FT+PMF test cases It is useful to get the encrypted frames decrypted in the sniffer capture for these test cases. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_ap_ft.py b/tests/hwsim/test_ap_ft.py index 307184018..49741f4e3 100644 --- a/tests/hwsim/test_ap_ft.py +++ b/tests/hwsim/test_ap_ft.py @@ -460,6 +460,11 @@ def run_ap_ft_pmf(dev, apdev, ieee80211w, over_ds=False): params["ieee80211w"] = "2" 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, ieee80211w=ieee80211w, over_ds=over_ds)