]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Fix ap_cipher_tkip_countermeasures_sta2
authorJouni Malinen <j@w1.fi>
Sun, 19 Nov 2017 14:02:07 +0000 (16:02 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 19 Nov 2017 14:02:07 +0000 (16:02 +0200)
hostapd implementation was changed to use a valid Status Code when
rejecting the connection. This test case was forgotten at the time, but
it needs a matching change to allow the new value (1 instead of 14).

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

index ad33d132cd6762891a359d0a475073d3709f0de2..e7921d32a407198b4e970f7c6bf0de0a8e6fccf6 100644 (file)
@@ -252,7 +252,7 @@ def test_ap_cipher_tkip_countermeasures_sta2(dev, apdev, params):
         if "CTRL-EVENT-CONNECTED" in ev:
             connected = True
             break
-        if "status_code=14" not in ev:
+        if "status_code=1" not in ev:
             raise Exception("Unexpected connection failure reason during TKIP countermeasures: " + ev)
         dev[0].request("REMOVE_NETWORK all")
         time.sleep(1)