]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: RSN pre-authentication failure to add a PMKSA entry
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 20 Feb 2017 10:49:29 +0000 (12:49 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 20 Feb 2017 11:31:59 +0000 (13:31 +0200)
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/test_pmksa_cache.py

index e1d0d3c4105f2368f1866b30069b2ddd827fa4ca..28a765599bc420f9dacc5b37c4d74b8fb7fbd7da 100644 (file)
@@ -738,8 +738,10 @@ def _test_pmksa_cache_preauth_oom(dev, apdev):
 
     tests = [ (1, "rsn_preauth_receive"),
               (2, "rsn_preauth_receive"),
-              (1, "rsn_preauth_send") ]
+              (1, "rsn_preauth_send"),
+              (1, "wpa_auth_pmksa_add_preauth;rsn_preauth_finished") ]
     for test in tests:
+        hapd.request("DEAUTHENTICATE ff:ff:ff:ff:ff:ff")
         with alloc_fail(hapd, test[0], test[1]):
             dev[0].scan_for_bss(bssid1, freq="2412")
             if "OK" not in dev[0].request("PREAUTH " + bssid1):