mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-30 06:46:49 -04:00
module-avb: milan: acmp: return IMCOMPATIBLE if the interface is invalid
This commit is contained in:
parent
fdcd818fba
commit
6c5c184e6d
1 changed files with 4 additions and 2 deletions
|
|
@ -2188,8 +2188,10 @@ int handle_probe_tx_command_milan_v12(struct acmp *acmp, uint64_t now,
|
|||
}
|
||||
|
||||
stream_out = desc->ptr;
|
||||
if (!stream_output_on_this_iface(server, stream_out))
|
||||
return 0;
|
||||
if (!stream_output_on_this_iface(server, stream_out)) {
|
||||
status = AVB_ACMP_STATUS_INCOMPATIBLE_REQUEST;
|
||||
goto done;
|
||||
}
|
||||
|
||||
if (memcmp(stream_out->common.stream.addr, zero_addr, 6) == 0) {
|
||||
status = AVB_ACMP_STATUS_TALKER_DEST_MAC_FAIL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue