]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Update multi_ap_fronthaul_on_ap to match implementation
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 12 Feb 2019 14:35:23 +0000 (15:35 +0100)
committerJouni Malinen <j@w1.fi>
Mon, 18 Feb 2019 18:26:32 +0000 (20:26 +0200)
Now that the backhaul STA Multi-AP association is not rejected anymore
by the AP, update the test case to expect disconnection to be triggered
by the STA.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
tests/hwsim/test_multi_ap.py

index 669e7772e921e8fad30f254e20aa1924c4965b33..20da065bd9bd503f1330454f2f3cb14d52a2a4a8 100644 (file)
@@ -59,7 +59,5 @@ def test_multi_ap_fronthaul_on_ap(dev, apdev):
     dev[0].request("DISCONNECT")
     if ev is None:
         raise Exception("Connection result not reported")
-    if "CTRL-EVENT-ASSOC-REJECT" not in ev:
-        raise Exception("Association rejection not reported")
-    if "status_code=12" not in ev:
-        raise Exception("Unexpected association status code: " + ev)
+    if "CTRL-EVENT-DISCONNECTED" not in ev:
+        raise Exception("Unexpected connection result")