From: Arnout Vandecappelle (Essensium/Mind) Date: Tue, 12 Feb 2019 14:35:23 +0000 (+0100) Subject: tests: Update multi_ap_fronthaul_on_ap to match implementation X-Git-Tag: hostap_2_8~344 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb3c156e7bb057d84f1f62264134892262f25e5d;p=thirdparty%2Fhostap.git 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) --- 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")