milan-avb: GET_STREAM_INFO: fixing the bound state according tol the ACMP status

This commit is contained in:
hackerman-kl 2026-04-26 13:39:02 +02:00 committed by Wim Taymans
parent 0bf4864d84
commit 52c6c0a0cf

View file

@ -8,6 +8,7 @@
#include "../aecp-aem.h"
#include "../aecp-aem-descriptors.h"
#include "../aecp-aem-state.h"
#include "../acmp-cmds-resps/acmp-milan-v12.h"
#include "../maap.h"
#include "../mrp.h"
@ -115,8 +116,9 @@ static void populate_input_response(struct aecp *aecp,
stream_format_be = stream_body->current_format;
/* Milan Section 5.3.8.2: bound iff the listener has a saved talker stream id. */
bound = (lattr->attr.listener.stream_id != 0);
/* Milan v1.2 Section 5.5.3.5: bound iff the listener FSM is not in UNBOUND. */
bound = (si->acmp_sta.fsm_acmp_state !=
FSM_ACMP_STATE_MILAN_V12_UNBOUND);
/* Milan Section 5.3.8.5: settled iff probing has completed. */
settled = (si->acmp_sta.probing_status == 3);