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) <arnout@mind.be>
This commit is contained in:
Arnout Vandecappelle (Essensium/Mind) 2019-02-12 15:35:23 +01:00 committed by Jouni Malinen
parent bfcdac1c8b
commit cb3c156e7b

View file

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