diff --git a/tests/hwsim/test_mscs.py b/tests/hwsim/test_mscs.py index ed04e211f..e917c700b 100644 --- a/tests/hwsim/test_mscs.py +++ b/tests/hwsim/test_mscs.py @@ -16,7 +16,14 @@ def register_mcsc_req(hapd): if "OK" not in hapd.request("REGISTER_FRAME %04x %s" % (type, match)): raise Exception("Could not register frame reception for Robust AV Streaming") -def handle_mscs_req(hapd, wrong_dialog=False, status_code=0): +def fill_change_params(dialog_token, status_code, params): + req_type = params['req_type'] if 'req_type' in params else 2 + return struct.pack('