From cb3c156e7bb057d84f1f62264134892262f25e5d Mon Sep 17 00:00:00 2001 From: "Arnout Vandecappelle (Essensium/Mind)" Date: Tue, 12 Feb 2019 15:35:23 +0100 Subject: [PATCH] tests: Update multi_ap_fronthaul_on_ap to match implementation 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) --- tests/hwsim/test_multi_ap.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/hwsim/test_multi_ap.py b/tests/hwsim/test_multi_ap.py index 669e7772e..20da065bd 100644 --- a/tests/hwsim/test_multi_ap.py +++ b/tests/hwsim/test_multi_ap.py @@ -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")